Mailing List Archive

[6892] cherokee/trunk/cherokee/nonce.c: Fixes a tiny memory leak on the Digest 'nonce' cache code.
Revision: 6892
http://svn.cherokee-project.com/changeset/6892
Author: alo
Date: 2011-10-07 23:01:42 +0200 (Fri, 07 Oct 2011)
Log Message:
-----------
Fixes a tiny memory leak on the Digest 'nonce' cache code.

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

Modified: cherokee/trunk/cherokee/nonce.c
===================================================================
--- cherokee/trunk/cherokee/nonce.c 2011-10-07 21:01:39 UTC (rev 6891)
+++ cherokee/trunk/cherokee/nonce.c 2011-10-07 21:01:42 UTC (rev 6892)
@@ -64,6 +64,7 @@
{
cherokee_list_del (&entry->listed);
cherokee_avl_del (&nonces->table, &entry->nonce, NULL);
+ cherokee_buffer_mrproper (&entry->nonce);
free (entry);
}