diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-23 13:07:30 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-23 13:07:30 +0000 |
commit | 8f236abd49739c0f791c5b893433f7dfa40d3dd8 (patch) | |
tree | 03f0811bf92e1fded5b85976864523d1c0b05e7c /stringbuf.c | |
parent | e1acf47244aa6ac6d8151f81bc19cf2fe5ce362d (diff) | |
download | rsyslog-8f236abd49739c0f791c5b893433f7dfa40d3dd8.tar.gz rsyslog-8f236abd49739c0f791c5b893433f7dfa40d3dd8.tar.xz rsyslog-8f236abd49739c0f791c5b893433f7dfa40d3dd8.zip |
fixed a memory leak in config file parsing thanks to varmojfekoj for the
patch
Diffstat (limited to 'stringbuf.c')
-rwxr-xr-x | stringbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stringbuf.c b/stringbuf.c index 21859509..c737e3fe 100755 --- a/stringbuf.c +++ b/stringbuf.c @@ -106,7 +106,7 @@ void rsCStrDestruct(rsCStrObj *pThis) { /* rgerhards 2005-10-19: The free of pBuf was contained in conditional compilation. * The code was only compiled if STRINGBUF_TRIM_ALLOCSIZE was set to 1. I honestly - * do not know why it was so, I think it was an artefact. Anyhow, I have changed this + * do not know why it was so, I think it was an artifact. Anyhow, I have changed this * now. Should there any issue occur, this comment hopefully will shed some light * on what happened. I re-verified, and this function has never before been called * by anyone. So changing it can have no impact for obvious reasons... |