[Commits] [SCM] claws branch, master, updated. 3.15.0-125-g63677ad
ticho at claws-mail.org
ticho at claws-mail.org
Fri Jul 28 19:55:13 CEST 2017
The branch, master has been updated
via 63677adb68c57479f6bc7534cfbf2f234b1f4fb1 (commit)
from 3266300edcd71b7f321caad962ee3cbb67466633 (commit)
Summary of changes:
src/procmime.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 63677adb68c57479f6bc7534cfbf2f234b1f4fb1
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Fri Jul 28 19:55:04 2017 +0200
Fix a small memory leak in procmime_get_mime_type().
diff --git a/src/procmime.c b/src/procmime.c
index 2559dce..b07e3f5 100644
--- a/src/procmime.c
+++ b/src/procmime.c
@@ -1120,7 +1120,8 @@ gchar *procmime_get_mime_type(const gchar *filename)
debug_print("got type %s for %s\n", str, ext);
g_free(ext);
return str;
- }
+ }
+ g_free(ext);
return NULL;
#else
gchar *str = get_content_type_from_registry_with_ext(ext);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list