Fix leak (bug #3148, thanks for the heads up!)
authorColin Leroy <colin@colino.net>
Sun, 27 Apr 2014 20:04:50 +0000 (22:04 +0200)
committerColin Leroy <colin@colino.net>
Sun, 27 Apr 2014 20:04:50 +0000 (22:04 +0200)
src/main.c

index c2bcaff..be6a003 100644 (file)
@@ -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);
        }