talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 973609e71445e85547896c1779f6101c2dfd4d9c
parent 77c654d6230260e91d38303938b423e42c477632
Author: Paul Mangan <paul@claws-mail.org>
Date:   Mon, 26 May 2008 07:43:52 +0000

2008-05-26 [paul]	3.4.0cvs69

	* src/mimeview.c
		plug a leak in mimeview_save_all()

Diffstat:
MChangeLog | 5+++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/mimeview.c | 4+++-
4 files changed, 10 insertions(+), 2 deletions(-)

diff --git 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 diff --git a/PATCHSETS b/PATCHSETS @@ -3364,3 +3364,4 @@ ( 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 diff --git a/configure.ac b/configure.ac @@ -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= diff --git a/src/mimeview.c b/src/mimeview.c @@ -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)