This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project iwhd.git.
The branch, master has been updated
via 00fb9bc78433a89a3869c274e959d8728c6e1b37 (commit)
from bba237a9d3d15caf36736a28ec0669329bace040 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://repo.or.cz/w/iwhd.git/commit/00fb9bc78433a89a3869c274e959d8728c6e1b37
commit 00fb9bc78433a89a3869c274e959d8728c6e1b37
Author: Jim Meyering <meyering(a)redhat.com>
Date: Mon Sep 27 16:12:27 2010 +0200
rest.c: plug a leak
* rest.c (proxy_create_bucket): Free "ms" here, too, so as not to
leak the state buffer allocated and dispatched in access_handler.
496 bytes in 1 blocks are definitely lost in loss record 270 of 288
at 0x4A0515D: malloc (vg_replace_malloc.c:195)
by 0x42700C: access_handler (rest.c:1603)
by 0x4E3BB38: ??? (in /usr/lib64/libmicrohttpd.so.5.2.1)
by 0x4E3D087: ??? (in /usr/lib64/libmicrohttpd.so.5.2.1)
by 0x4E3F9F9: ??? (in /usr/lib64/libmicrohttpd.so.5.2.1)
by 0x31BB407760: start_thread (pthread_create.c:301)
by 0x31BA8E151C: clone (clone.S:115)
diff --git a/rest.c b/rest.c
index 498c8da..4e784fc 100644
--- a/rest.c
+++ b/rest.c
@@ -1503,6 +1503,7 @@ proxy_create_bucket (void *cctx, struct MHD_Connection *conn, const
char *url,
MHD_queue_response(conn,rc,resp);
MHD_destroy_response(resp);
+ free_ms(ms);
return MHD_YES;
}
-----------------------------------------------------------------------
Summary of changes:
rest.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
repo.or.cz automatic notification. Contact project admin jim(a)meyering.net
if you want to unsubscribe, or site admin admin(a)repo.or.cz if you receive
no reply.
--
iwhd.git ("image warehouse daemon")