Fix memory leak in processContentOffset

This commit is contained in:
Robert Paprocki 2018-04-30 15:55:28 -07:00 committed by Felipe Zimmerle
parent cc72035034
commit 2669add8e0
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -325,6 +325,8 @@ int ModSecurity::processContentOffset(const char *content, size_t len,
varValue.c_str()),
varValue.size());
yajl_gen_map_close(g);
delete t;
}
yajl_gen_array_close(g);