2008-05-26 [paul] 3.4.0cvs69
authorPaul Mangan <paul@claws-mail.org>
Mon, 26 May 2008 07:43:52 +0000 (07:43 +0000)
committerPaul Mangan <paul@claws-mail.org>
Mon, 26 May 2008 07:43:52 +0000 (07:43 +0000)
* src/mimeview.c
plug a leak in mimeview_save_all()

ChangeLog
PATCHSETS
configure.ac
src/mimeview.c

index efc5b331b28387f226149427b729787cb892dbf7..c5e62528337b7e04bb50850c11cec4660da4c117 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-26 [paul]      3.4.0cvs69
+
+       * src/mimeview.c
+               plug a leak in mimeview_save_all()
+
 2008-05-24 [colin]     3.4.0cvs68
 
        * src/common/utils.h
index 3cfe1f99a2b5410267b49d4897918e5dbcec6271..2c753faab5b6d71995de45894f597417880a3794 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.2.2 -r 1.1.2.3 src/pixmaps/insert_file.xpm;  ) > 3.4.0cvs66.patchset
 ( cvs diff -u -r 1.155.2.86 -r 1.155.2.87 src/Makefile.am;  cvs diff -u -r 1.25.2.56 -r 1.25.2.57 src/stock_pixmap.c;  cvs diff -u -r 1.18.2.35 -r 1.18.2.36 src/stock_pixmap.h;  cvs diff -u -r 1.43.2.100 -r 1.43.2.101 src/toolbar.c;  diff -u /dev/null src/pixmaps/cancel.xpm;  cvs diff -u -r 1.1.14.2 -r 1.1.14.3 src/pixmaps/close.xpm;  ) > 3.4.0cvs67.patchset
 ( cvs diff -u -r 1.20.2.61 -r 1.20.2.62 src/common/utils.h;  ) > 3.4.0cvs68.patchset
+( cvs diff -u -r 1.83.2.131 -r 1.83.2.132 src/mimeview.c;  ) > 3.4.0cvs69.patchset
index 7f81bba202a3d5c59155c0a8e580aaaccd12acc2..9552e534f2fa5bb8b72f31d4b6821e4faf5463c1 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=4
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=68
+EXTRA_VERSION=69
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index a1971067c0454efe2ac52a0116266e335e6ec91c..68de84507330ff0ac4be695c5e284e26f9182f83 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2007 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-2008 Hiroyuki Yamamoto and the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -1644,6 +1644,7 @@ static void mimeview_save_all(MimeView *mimeview)
                alertpanel_error(_("'%s' is not a directory."),
                                 dirname);
                g_free(startdir);
+               g_free(dirname);
                return;
        }
 
@@ -1677,6 +1678,7 @@ static void mimeview_save_all(MimeView *mimeview)
        g_free(startdir);
        prefs_common.attach_save_dir = g_filename_to_utf8(dirname,
                                        -1, NULL, NULL, NULL);
+       g_free(dirname);
 }
 
 static MimeInfo *mimeview_get_part_to_use(MimeView *mimeview)