2006-08-18 [paul] 2.4.0cvs64
authorPaul Mangan <paul@claws-mail.org>
Fri, 18 Aug 2006 09:21:11 +0000 (09:21 +0000)
committerPaul Mangan <paul@claws-mail.org>
Fri, 18 Aug 2006 09:21:11 +0000 (09:21 +0000)
* src/stock_pixmap.c
fix leaks
Thanks to Colin

ChangeLog
PATCHSETS
configure.ac
src/stock_pixmap.c

index ed0eebb5c2f5a15559291b02dddcc69ba82babfb..69811d27eb7b0cca5db4ad4f59394bd752e50e66 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-18 [paul]      2.4.0cvs64
+
+       * src/stock_pixmap.c
+               fix leaks
+               Thanks to Colin
+
 2006-08-18 [paul]      2.4.0cvs63
 
        * src/compose.c
 2006-08-18 [paul]      2.4.0cvs63
 
        * src/compose.c
index 4a0e403b7922b950620e2d8bb744cf8df0e2db5d..adfb421e6b348920b7a596e9d847213535df4308 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.2.11 -r 1.1.2.12 src/plugins/pgpcore/select-keys.c;  ) > 2.4.0cvs61.patchset
 ( cvs diff -u -r 1.207.2.111 -r 1.207.2.112 src/folderview.c;  cvs diff -u -r 1.96.2.138 -r 1.96.2.139 src/textview.c;  cvs diff -u -r 1.20.2.35 -r 1.20.2.36 src/common/utils.h;  ) > 2.4.0cvs62.patchset
 ( cvs diff -u -r 1.382.2.302 -r 1.382.2.303 src/compose.c;  cvs diff -u -r 1.150.2.72 -r 1.150.2.73 src/procmsg.c;  ) > 2.4.0cvs63.patchset
 ( cvs diff -u -r 1.1.2.11 -r 1.1.2.12 src/plugins/pgpcore/select-keys.c;  ) > 2.4.0cvs61.patchset
 ( cvs diff -u -r 1.207.2.111 -r 1.207.2.112 src/folderview.c;  cvs diff -u -r 1.96.2.138 -r 1.96.2.139 src/textview.c;  cvs diff -u -r 1.20.2.35 -r 1.20.2.36 src/common/utils.h;  ) > 2.4.0cvs62.patchset
 ( cvs diff -u -r 1.382.2.302 -r 1.382.2.303 src/compose.c;  cvs diff -u -r 1.150.2.72 -r 1.150.2.73 src/procmsg.c;  ) > 2.4.0cvs63.patchset
+( cvs diff -u -r 1.25.2.24 -r 1.25.2.25 src/stock_pixmap.c;  ) > 2.4.0cvs64.patchset
index a347ab75c5cc9409a5a79134617fcb3288079ed1..fd231d6b1bd754d9a5e4e80d0656da8761fa27ea 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=4
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=63
+EXTRA_VERSION=64
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
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);
                                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;
                                }
                                        break;
                                }
+                               g_free(filetoexist);
                        }
                        g_free(filetoexist);
                        if (i == N_STOCK_PIXMAPS) 
                        }
                        g_free(filetoexist);
                        if (i == N_STOCK_PIXMAPS)