From: Adam Dickmeiss Date: Mon, 27 May 2013 18:22:12 +0000 (+0200) Subject: Fix memory leak in service command X-Git-Tag: v1.6.32~18 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=9547e5055922e3279bcd349fc6094e583e559f44;p=pazpar2-moved-to-github.git Fix memory leak in service command --- diff --git a/src/http_command.c b/src/http_command.c index d4806ae..3ab415c 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -668,6 +668,7 @@ static void cmd_service(struct http_channel *c) wrbuf_write(c->wrbuf, (const char *) buf->content, buf->use); xmlBufferFree(buf); + xmlFreeNode(tmp); } response_close(c, 0);