diff options
author | Jordan Milne <jordan.milne@saynotolinux.com> | 2014-09-18 09:26:05 -0300 |
---|---|---|
committer | Jordan Milne <jordan.milne@saynotolinux.com> | 2014-09-18 19:28:43 -0300 |
commit | 507d8d3a09f6704e8c1f21e5a5df2e4e014e6779 (patch) | |
tree | 4a09ebad9cbb1ebbc3dffb9aad01269643550a44 /src/html | |
parent | ce1923214cd8cc9bd77068e6cb08a9d08a7e5495 (diff) |
Fix memory leak when rendering images as HTML
Diffstat (limited to 'src/html')
-rw-r--r-- | src/html/html.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html/html.c b/src/html/html.c index 6f3bc76..ab6fc35 100644 --- a/src/html/html.c +++ b/src/html/html.c @@ -111,6 +111,8 @@ static void inlines_to_html(strbuf *html, node_inl* ils) } ils = ils->next; } + + strbuf_free(&scrap); } // Convert a node_block list to HTML. Returns 0 on success, and sets result. |