Skip to content

Commit e122f37

Browse files
Add pool callback
1 parent 7db0379 commit e122f37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apache2/msc_reqbody.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ apr_status_t modsecurity_request_body_start(modsec_rec *msr, char **error_msg) {
9494
* via malloc).
9595
*/
9696
apr_pool_create(&msr->msc_reqbody_mp, NULL);
97-
97+
apr_pool_abort_set(apr_pool_abort_get(msr->mp), msr->msc_reqbody_mp);
9898
/* Initialise request body processors, if any. */
9999

100100
if (msr->msc_reqbody_processor != NULL) {

0 commit comments

Comments
 (0)