detect-ssl-state: fix memleak

pull/1910/head
Eric Leblond 10 years ago
parent fe81bdc213
commit 9c7e18dc89

@ -261,6 +261,7 @@ DetectSslStateData *DetectSslStateParse(char *arg)
pcre_free_substring(str1);
str1 = str2;
}
pcre_free_substring(str1);
if ( (ssd = SCMalloc(sizeof(DetectSslStateData))) == NULL) {
goto error;

Loading…
Cancel
Save