]> granicus.if.org Git - apache/commit
Fix seg fault when garbage collecting an expired entry. remove_entity
authorBill Stoddard <stoddard@apache.org>
Wed, 17 Apr 2002 18:52:32 +0000 (18:52 +0000)
committerBill Stoddard <stoddard@apache.org>
Wed, 17 Apr 2002 18:52:32 +0000 (18:52 +0000)
commita43730cd78c64ec472dc3a2b52e08d293f5d101a
tree613eaf51df25c743b6ae3cd8328c93ca3c096960
parentad6c2e9137ba53a0c5248b7e30c15c5843e473f8
Fix seg fault when garbage collecting an expired entry.  remove_entity
should just remove the object from the cache and set the cleanup flag
in the object. decrement_refcount will clean the object up when the refcount
goes to zero.

Defect reported by Jean-Jacques Clar at Novell.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94683 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/experimental/mod_mem_cache.c