summaryrefslogtreecommitdiff
path: root/buckets/apr_buckets.c
diff options
context:
space:
mode:
authorfanf <fanf@13f79535-47bb-0310-9956-ffa450edef68>2000-08-19 16:54:46 +0000
committerfanf <fanf@13f79535-47bb-0310-9956-ffa450edef68>2000-08-19 16:54:46 +0000
commit43bc48aec0d0269293845c202ceed1729456d0bd (patch)
tree1297c45088c800a9cb77431a2c1651fb632adf1b /buckets/apr_buckets.c
parentd957a96f28d9e148d5640e309dc76acc2408452f (diff)
downloadlibapr-util-43bc48aec0d0269293845c202ceed1729456d0bd.tar.gz
Change the way buckets' destroy functions are called so that
they can be more directly used when changing the type of a bucket in place. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@57846 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buckets/apr_buckets.c')
-rw-r--r--buckets/apr_buckets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/buckets/apr_buckets.c b/buckets/apr_buckets.c
index d627ddb8..93ba2762 100644
--- a/buckets/apr_buckets.c
+++ b/buckets/apr_buckets.c
@@ -65,7 +65,7 @@
API_EXPORT(apr_status_t) ap_bucket_destroy(ap_bucket *e)
{
if (e->destroy) {
- e->destroy(e);
+ e->destroy(e->data);
}
free(e);
return APR_SUCCESS;