2006-08-18 [paul] 2.4.0cvs64
[claws.git] / src / stock_pixmap.c
index 73eb15488dcaa0b51daebfeb0c79c837834421c0..bb79a6ebe143d05c4fee5e1248e51a8f155143a6 100644 (file)
@@ -466,8 +466,10 @@ static void stock_pixmap_find_themes_in_dir(GList **list, const gchar *dirname)
                                filetoexist = g_strconcat(fullentry, G_DIR_SEPARATOR_S, pixmaps[i].file, ".xpm", NULL);
                                if (is_file_exist(filetoexist)) {
                                        *list = g_list_append(*list, fullentry);
+                                       g_free(filetoexist);
                                        break;
                                }
+                               g_free(filetoexist);
                        }
                        g_free(filetoexist);
                        if (i == N_STOCK_PIXMAPS)