commit 5bf6c64e0685ca577f9ea4be5a578199dd192947
parent a4a389b50039287ebaf84f2345711bca27aacad7
Author: Colin Leroy <colin@colino.net>
Date: Sun, 27 Apr 2014 22:04:50 +0200
Fix leak (bug #3148, thanks for the heads up!)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/main.c b/src/main.c
@@ -2166,6 +2166,7 @@ gchar *claws_get_socket_name(void)
filename = g_strdup_printf("%s%c%s", socket_dir, G_DIR_SEPARATOR,
md5sum);
+ g_free(socket_dir);
debug_print("Using control socket %s\n", filename);
}