Fix leak on error variable
This commit is contained in:
parent
825be32b25
commit
ef64f05e6a
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue