diff options
author | bojan <bojan@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-20 21:29:13 +0000 |
---|---|---|
committer | bojan <bojan@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-20 21:29:13 +0000 |
commit | a5b546e86f5e4909c31dc3db7b26c904471e068b (patch) | |
tree | d978efce32e9480376522b98484e004f429b6bd1 | |
parent | 342f8b6fa77ab588a3a65c4aa9632869e4cd1472 (diff) | |
download | libapr-util-a5b546e86f5e4909c31dc3db7b26c904471e068b.tar.gz |
Close memory leak.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@678323 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | memcache/apr_memcache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/memcache/apr_memcache.c b/memcache/apr_memcache.c index 3d0988e0..c25a5407 100644 --- a/memcache/apr_memcache.c +++ b/memcache/apr_memcache.c @@ -359,6 +359,8 @@ mc_conn_destruct(void *conn_, void *params, apr_pool_t *pool) /* 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; } |