commit | 30802126d48e145191a281a7f43109edfbcf490f | [log] [tgz] |
---|---|---|
author | Christian Hesse <mail@eworm.de> | Sat Oct 10 16:56:24 2015 +0200 |
committer | Jason A. Donenfeld <Jason@zx2c4.com> | Sat Oct 10 21:38:57 2015 +0200 |
tree | 3246c594ad2b5a07706106a8d58a0fe90f0fe6b2 | |
parent | 08a2b818f2bd3221a1685c28c62408d57b0993a7 [diff] |
ui-blob: fix resource leak: free before return Coverity-id: 13943 Signed-off-by: Christian Hesse <mail@eworm.de>
diff --git a/ui-blob.c b/ui-blob.c index d3c3a10..70a671e 100644 --- a/ui-blob.c +++ b/ui-blob.c
@@ -99,6 +99,7 @@ return -1; buf[size] = '\0'; html_raw(buf, size); + free(buf); return 0; }