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 efc5b33..c5e6252 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 3cfe1f9..2c753fa 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 7f81bba..9552e53 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 a197106..68de845 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)