From: Victor Julien Date: Thu, 9 Jan 2014 10:52:46 +0000 (+0100) Subject: app layer: fix memory leak X-Git-Tag: suricata-2.0rc1~248 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0bac43a1cab9d39060e68448b06d88160e889f77;p=thirdparty%2Fsuricata.git app layer: fix memory leak Actually free the ctx in AppLayerParserDestroyCtxThread --- diff --git a/src/app-layer-parser.c b/src/app-layer-parser.c index 6cfe49e5e8..eb66ea4a25 100644 --- a/src/app-layer-parser.c +++ b/src/app-layer-parser.c @@ -250,6 +250,7 @@ void AppLayerParserDestroyCtxThread(void *alpd_tctx) } } + SCFree(tctx); SCReturn; }