* src/mimeview.c
authorChristoph Hohmann <reboot@gmx.ch>
Mon, 22 Jul 2002 11:16:42 +0000 (11:16 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Mon, 22 Jul 2002 11:16:42 +0000 (11:16 +0000)
        fix memory leak caused by wrong g_dirname usage

ChangeLog.claws
configure.in
src/mimeview.c
src/summaryview.c

index 02e17c0..de6c8bf 100644 (file)
@@ -1,3 +1,8 @@
+2002-07-22 [christoph] 0.7.8claws96
+
+       * src/mimeview.c
+               fix memory leak caused by wrong g_dirname usage
+
 2002-07-22 [christoph] 0.7.8claws95
 
        * src/summaryview.c
index 25b0cf2..770be62 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws95
+EXTRA_VERSION=claws96
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index c98d16e..f8f42b9 100644 (file)
@@ -827,7 +827,7 @@ static void mimeview_save_all(MimeView *mimeview)
                                   ? &attachname[1]
                                   : attachname);
                        attachdir = g_dirname(buf);
-                       make_dir_hier(g_dirname(buf));
+                       make_dir_hier(attachdir);
                        g_free(attachdir);
                        g_free(attachname);
 
index 006c7a7..b2d0fcc 100644 (file)
@@ -5029,7 +5029,6 @@ static void summary_ignore_thread_func(GtkCTree *ctree, GtkCTreeNode *row, gpoin
            msginfo->msgnum);
 }
 
-
 static void summary_ignore_thread(SummaryView *summaryview)
 {
        GtkCTree *ctree = GTK_CTREE(summaryview->ctree);