From 91c1845b19ec0b01fa78ed7c5ffef11d80f23d53 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 27 May 2011 15:16:36 +0200 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 68462416da..dbea8ec20e 100644 --- a/src/detect-reference.c +++ b/src/detect-reference.c @@ -248,10 +248,6 @@ static int DetectReferenceSetup (DetectEngineCtx *de_ctx, Signature *s, char *ra SCReturnInt(0); error: - if (ref != NULL) { - DetectReferenceFree(ref); - } - SCReturnInt(-1); }