PR: 44948
Submitted by: Dan Poirier <poirier pobox.com>
Reviewed by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@757741
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.3.3
+ *) mod_substitute: Fix a memory leak. PR 44948
+ [Dan Poirier <poirier pobox.com>]
+
Changes with Apache 2.3.2
*) mod_mime_magic: Fix detection of compressed content. [Rainer Jung]
*/
rv = apr_bucket_read(b, &buff, &bytes, APR_BLOCK_READ);
if (rv != APR_SUCCESS || bytes == 0) {
- APR_BUCKET_REMOVE(b);
+ apr_bucket_delete(b);
}
else {
int num = 0;