From 36290297dc696ad0d410939b1c9e4eb3ce13c83d Mon Sep 17 00:00:00 2001 From: Gerardo Iglesias Galvan Date: Tue, 31 May 2011 20:12:01 -0500 Subject: [PATCH] Remove dead code from reference handling --- src/detect-reference.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/detect-reference.c b/src/detect-reference.c index ea5515e1c0..f8789b82eb 100644 --- a/src/detect-reference.c +++ b/src/detect-reference.c @@ -224,10 +224,6 @@ static int DetectReferenceSetup(DetectEngineCtx *de_ctx, Signature *s, SCReturnInt(0); error: - if (ref != NULL) { - DetectReferenceFree(ref); - } - SCReturnInt(-1); }