mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Fix memory leak in processContentOffset
This commit is contained in:
parent
cc72035034
commit
2669add8e0
@ -325,6 +325,8 @@ int ModSecurity::processContentOffset(const char *content, size_t len,
|
|||||||
varValue.c_str()),
|
varValue.c_str()),
|
||||||
varValue.size());
|
varValue.size());
|
||||||
yajl_gen_map_close(g);
|
yajl_gen_map_close(g);
|
||||||
|
|
||||||
|
delete t;
|
||||||
}
|
}
|
||||||
|
|
||||||
yajl_gen_array_close(g);
|
yajl_gen_array_close(g);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user