Restore line removed by mistake in previous commit.
authorAndrej Kacian <ticho@claws-mail.org>
Sat, 29 Dec 2018 16:05:27 +0000 (17:05 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Sat, 29 Dec 2018 16:05:27 +0000 (17:05 +0100)
src/gtk/w32_filesel.c

index 3a37b7b..6fd017f 100644 (file)
@@ -170,6 +170,7 @@ static const gboolean _file_open_dialog(const gchar *path, const gchar *title,
                win_filter16 = g_malloc0(conv_items*sz*2 + sz*3);
                memcpy(win_filter16, filter16, conv_items*sz);
                memcpy(win_filter16 + conv_items + 1, filter16, conv_items*sz);
+               g_free(filter16);
 
                if (error != NULL) {
                        debug_print("dialog title '%s' conversion to UTF-16 failed\n", title);