diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-02-28 23:46:53 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-02-28 23:46:53 +0000 |
commit | b7d937ef9a53d46711a8135b8a27b0287ceadb02 (patch) | |
tree | bf8337f420bca721500001626aa3840d28061172 /buckets/apr_buckets_simple.c | |
parent | 94ba2092183afd49e73275060fb61c66a12c5026 (diff) | |
download | libapr-util-b7d937ef9a53d46711a8135b8a27b0287ceadb02.tar.gz |
Don't do free() on the data when destroying immortal and transient
buckets.
This should fix some heap corruption seen in Apache.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58151 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buckets/apr_buckets_simple.c')
-rw-r--r-- | buckets/apr_buckets_simple.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buckets/apr_buckets_simple.c b/buckets/apr_buckets_simple.c index 0c8eeb76..8e7cb367 100644 --- a/buckets/apr_buckets_simple.c +++ b/buckets/apr_buckets_simple.c @@ -151,7 +151,7 @@ APU_DECLARE(apr_bucket *) apr_bucket_transient_create( const apr_bucket_type_t apr_bucket_type_immortal = { "IMMORTAL", 5, - free, + apr_bucket_destroy_notimpl, simple_read, apr_bucket_setaside_notimpl, apr_bucket_simple_split, @@ -160,7 +160,7 @@ const apr_bucket_type_t apr_bucket_type_immortal = { APU_DECLARE_DATA const apr_bucket_type_t apr_bucket_type_transient = { "TRANSIENT", 5, - free, + apr_bucket_destroy_notimpl, simple_read, transient_setaside, apr_bucket_simple_split, |