]> granicus.if.org Git - apache/commit
In getline() and ap_get_client_block(), use ap_bucket_destroy()
authorJeff Trawick <trawick@apache.org>
Wed, 11 Oct 2000 17:37:22 +0000 (17:37 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 11 Oct 2000 17:37:22 +0000 (17:37 +0000)
commite512e00ab5923b1c907734592e1fcad343c4739c
treedc5cb26a8eae1b3eca02770f3a4ab44b44e4885a
parent24de5d9c6a6b6cd8c6d109c1d978dfff58643a98
In getline() and ap_get_client_block(), use ap_bucket_destroy()
instead of bucket->destroy().  bucket->destroy() wasn't being
called correctly and also we were leaking the storage for the
bucket itself since bucket->destroy() doesn't free the ap_bucket.
Submitted by: Ryan Bloom, Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86544 13f79535-47bb-0310-9956-ffa450edef68
modules/http/http_protocol.c