* src/utils.c
authorChristoph Hohmann <reboot@gmx.ch>
Wed, 7 Aug 2002 21:58:34 +0000 (21:58 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Wed, 7 Aug 2002 21:58:34 +0000 (21:58 +0000)
        fixed a memory leak in new canonicalize_file_replace

ChangeLog.claws
configure.in
src/utils.c

index bc5d067ccabf39e60431d88b27f73d4a4bc941ee..69a4967acacc2cde0f36223be3fb16c840722fc5 100644 (file)
@@ -1,4 +1,9 @@
-2002-08-07 [christoph] 0.8.1claws24
+2002-08-07 [christoph] 0.8.1claws35
+
+       * src/utils.c
+               fixed a memory leak in new canonicalize_file_replace
+
+2002-08-07 [christoph] 0.8.1claws34
 
        * src/utils.[ch]
                o canonicalize_file_replace should create the temporary
 
        * src/utils.[ch]
                o canonicalize_file_replace should create the temporary
index b7ff53e837d4f959c204821d645974a2b478bf86..1110c858332e234e0ac870fca04ce5420b256281 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws34
+EXTRA_VERSION=claws35
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index e5bc918105c2ba59714d9e0ebbc51b36cc8fa2bd..ba50629d03039fbdc583dd6b2fd5eb6b10b949ae 100644 (file)
@@ -2137,6 +2137,7 @@ gint canonicalize_file_replace(const gchar *file)
 
        dirname = g_dirname(file);
        dest = get_tmpfile_in_dir(dirname, &tmp_file);
 
        dirname = g_dirname(file);
        dest = get_tmpfile_in_dir(dirname, &tmp_file);
+       g_free(dirname);
 
        debug_print("Writing canonicalized file to %s\n", tmp_file);
 
 
        debug_print("Writing canonicalized file to %s\n", tmp_file);