projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
444c31c
)
Fix leak on error variable
author
Ricardo Mones
<ricardo@mones.org>
Fri, 26 Jul 2019 10:51:13 +0000
(12:51 +0200)
committer
Ricardo Mones
<ricardo@mones.org>
Fri, 26 Jul 2019 10:51:13 +0000
(12:51 +0200)
src/plugins/litehtml_viewer/lh_viewer.c
patch
|
blob
|
history
diff --git
a/src/plugins/litehtml_viewer/lh_viewer.c
b/src/plugins/litehtml_viewer/lh_viewer.c
index bf6435bb3f2c05614d4d52673ddf98758a812454..2d2fc504431ad9aa8ae417ddc702551372d6ecaf 100644
(file)
--- a/
src/plugins/litehtml_viewer/lh_viewer.c
+++ b/
src/plugins/litehtml_viewer/lh_viewer.c
@@
-103,6
+103,7
@@
static void lh_show_mimepart(MimeViewer *_viewer, const gchar *infile,
if (error) {
g_warning("LH: failed mimepart conversion to UTF-8: %s", error->message);
g_free(string);
+ g_error_free(error);
return;
}
debug_print("LH: successfully converted %" G_GSIZE_FORMAT " bytes\n", length);