summaryrefslogtreecommitdiffstats
path: root/runtime/parser.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-07-10 13:56:46 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-07-10 13:56:46 +0200
commit6fff4ae3329e852586f3a14ac8b8369bc6d61148 (patch)
tree69a9c3ad580385b86210eb9d88d6f884e3ac03f3 /runtime/parser.c
parent9de685929e4c202d470e07ec28fda41a5efc8eaf (diff)
downloadrsyslog-6fff4ae3329e852586f3a14ac8b8369bc6d61148.tar.gz
rsyslog-6fff4ae3329e852586f3a14ac8b8369bc6d61148.tar.xz
rsyslog-6fff4ae3329e852586f3a14ac8b8369bc6d61148.zip
bugfix: potential segfault when zip-compressed syslog records were received (double free)
Diffstat (limited to 'runtime/parser.c')
-rw-r--r--runtime/parser.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/parser.c b/runtime/parser.c
index a5183105..a2538fa3 100644
--- a/runtime/parser.c
+++ b/runtime/parser.c
@@ -115,7 +115,6 @@ static inline rsRetVal uncompressMessage(msg_t *pMsg)
FINALIZE; /* unconditional exit, nothing left to do... */
}
MsgSetRawMsg(pMsg, (char*)deflateBuf, iLenDefBuf);
- free(deflateBuf);
}
finalize_it:
if(deflateBuf != NULL)