From: Victor Julien Date: Mon, 2 Jul 2012 10:43:01 +0000 (+0200) Subject: Fix a reload memleak in the duplicate sig detection hash. X-Git-Tag: suricata-1.3~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19e3348cae6987ac0f3058dd2f92c266f29e824f;p=thirdparty%2Fsuricata.git Fix a reload memleak in the duplicate sig detection hash. --- diff --git a/src/detect-parse.c b/src/detect-parse.c index 753bb586f1..40dc5158af 100644 --- a/src/detect-parse.c +++ b/src/detect-parse.c @@ -1434,7 +1434,7 @@ int DetectParseDupSigHashInit(DetectEngineCtx *de_ctx) void DetectParseDupSigHashFree(DetectEngineCtx *de_ctx) { if (de_ctx->dup_sig_hash_table != NULL) - SCFree(de_ctx->dup_sig_hash_table); + HashListTableFree(de_ctx->dup_sig_hash_table); de_ctx->dup_sig_hash_table = NULL;