mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-16 07:56:12 +03:00
Fixed memory leak in the acmp implementation
This commit is contained in:
parent
60402d8b80
commit
fd341145d5
@ -131,6 +131,7 @@ char *parse_pm_content(const char *op_parm, unsigned short int op_len, const cha
|
|||||||
x++;
|
x++;
|
||||||
} else {
|
} else {
|
||||||
*error_msg = std::string("Unsupported escape sequence.").c_str();
|
*error_msg = std::string("Unsupported escape sequence.").c_str();
|
||||||
|
free(parm);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
esc = 0;
|
esc = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user