Mailing List Archive

[6896] cherokee/trunk/cherokee/avl_flcache.c: Fixes a memory leak in Front-Line Cache.
Revision: 6896
http://svn.cherokee-project.com/changeset/6896
Author: alo
Date: 2011-10-07 23:02:01 +0200 (Fri, 07 Oct 2011)
Log Message:
-----------
Fixes a memory leak in Front-Line Cache. There was a property of the
internal AVL nodes that was not being freed properly.

Modified Paths:
--------------
cherokee/trunk/cherokee/avl_flcache.c

Modified: cherokee/trunk/cherokee/avl_flcache.c
===================================================================
--- cherokee/trunk/cherokee/avl_flcache.c 2011-10-07 21:01:53 UTC (rev 6895)
+++ cherokee/trunk/cherokee/avl_flcache.c 2011-10-07 21:02:01 UTC (rev 6896)
@@ -91,6 +91,7 @@

cherokee_buffer_mrproper (&node->request);
cherokee_buffer_mrproper (&node->query_string);
+ cherokee_buffer_mrproper (&node->content_encoding);
cherokee_buffer_mrproper (&node->file);

return ret_ok;