Mailing List Archive

[6895] cherokee/trunk/cherokee/flcache.c: Fixes a minor memory leak.
Revision: 6895
http://svn.cherokee-project.com/changeset/6895
Author: alo
Date: 2011-10-07 23:01:53 +0200 (Fri, 07 Oct 2011)
Log Message:
-----------
Fixes a minor memory leak. A tiny temporal buffer was not being freed
properly.

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

Modified: cherokee/trunk/cherokee/flcache.c
===================================================================
--- cherokee/trunk/cherokee/flcache.c 2011-10-07 21:01:51 UTC (rev 6894)
+++ cherokee/trunk/cherokee/flcache.c 2011-10-07 21:01:53 UTC (rev 6895)
@@ -633,6 +633,8 @@
}

TRACE (ENTRIES, "Created flcache file %s, fd=%d\n", entry->file.buf, conn->flcache.fd);
+
+ cherokee_buffer_mrproper (&tmp);
return ret_ok;

error: