Skip to content

Commit b1eaa59

Browse files
Сарайкин Антон ЮрьевичСарайкин Антон Юрьевич
Сарайкин Антон Юрьевич
authored and
Сарайкин Антон Юрьевич
committed
Merge pull request owasp-modsecurity#7 in SECURITYGW/ngx_http_modsecurity from fix/by_address_sanitizer_notes to develop
* commit 'ad071ca5f518d98af21d5fc730bbb87f01a0bc3a': Minor fixes for notes from AddressSanitizer
2 parents 0a64936 + ad071ca commit b1eaa59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ngx_http_modsecurity_module.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,9 +651,11 @@ ngx_http_modsecurity_config_cleanup(void *data)
651651

652652
old_pool = ngx_http_modsecurity_pcre_malloc_init(NULL);
653653
msc_rules_cleanup(t->rules_set);
654+
msc_cleanup(t->modsec);
654655
ngx_http_modsecurity_pcre_malloc_done(old_pool);
655656

656657
t->rules_set = NULL;
658+
t->modsec = NULL;
657659
}
658660

659661

0 commit comments

Comments
 (0)