summaryrefslogtreecommitdiffstats
path: root/src/detect-parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/detect-parse.c')
-rw-r--r--src/detect-parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/detect-parse.c b/src/detect-parse.c
index b5e214d..c3232b9 100644
--- a/src/detect-parse.c
+++ b/src/detect-parse.c
@@ -1540,6 +1540,7 @@ Signature *SigAlloc (void)
sig->init_data->buffers = SCCalloc(8, sizeof(SignatureInitDataBuffer));
if (sig->init_data->buffers == NULL) {
+ SCFree(sig->init_data);
SCFree(sig);
return NULL;
}