From 0bac43a1cab9d39060e68448b06d88160e889f77 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 9 Jan 2014 11:52:46 +0100 Subject: [PATCH] app layer: fix memory leak Actually free the ctx in AppLayerParserDestroyCtxThread --- src/app-layer-parser.c | 1 + 1 file changed, 1 insertion(+) 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; }