apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r678323 - /apr/apr-util/trunk/memcache/apr_memcache.c
Date Sun, 20 Jul 2008 21:29:13 GMT
Author: bojan
Date: Sun Jul 20 14:29:13 2008
New Revision: 678323

URL: http://svn.apache.org/viewvc?rev=678323&view=rev
Log:
Close memory leak.

Modified:
    apr/apr-util/trunk/memcache/apr_memcache.c

Modified: apr/apr-util/trunk/memcache/apr_memcache.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/memcache/apr_memcache.c?rev=678323&r1=678322&r2=678323&view=diff
==============================================================================
--- apr/apr-util/trunk/memcache/apr_memcache.c (original)
+++ apr/apr-util/trunk/memcache/apr_memcache.c Sun Jul 20 14:29:13 2008
@@ -359,6 +359,8 @@
     /* Return values not checked, since we just want to make it go away. */
     apr_socket_sendv(conn->sock, vec, 2, &written);
     apr_socket_close(conn->sock);
+
+    apr_pool_destroy(conn->p);
     
     return APR_SUCCESS;
 }



Mime
View raw message