mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +03:00
revert free operation
This commit is contained in:
parent
c0a097304e
commit
117cc13525
@ -130,12 +130,10 @@ apr_status_t input_filter(ap_filter_t *f, apr_bucket_brigade *bb_out,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO Need to see if we need to free
|
|
||||||
if(msr->txcfg->stream_inbody_inspection && msr->stream_input_data != NULL) {
|
if(msr->txcfg->stream_inbody_inspection && msr->stream_input_data != NULL) {
|
||||||
free(msr->stream_input_data);
|
free(msr->stream_input_data);
|
||||||
msr->stream_input_data = NULL;
|
msr->stream_input_data = NULL;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
if (rc == 0) {
|
if (rc == 0) {
|
||||||
modsecurity_request_body_retrieve_end(msr);
|
modsecurity_request_body_retrieve_end(msr);
|
||||||
@ -481,12 +479,10 @@ static void inject_content_to_of_brigade(modsec_rec *msr, ap_filter_t *f) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO Need to see if we need to free
|
|
||||||
if(msr->stream_output_data != NULL) {
|
if(msr->stream_output_data != NULL) {
|
||||||
free(msr->stream_output_data);
|
free(msr->stream_output_data);
|
||||||
msr->stream_output_data = NULL;
|
msr->stream_output_data = NULL;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user