Fixed memory leak from bug #622040
authorMelvin Hadasht <melvin.hadasht@free.fr>
Fri, 11 Oct 2002 21:33:47 +0000 (21:33 +0000)
committerMelvin Hadasht <melvin.hadasht@free.fr>
Fri, 11 Oct 2002 21:33:47 +0000 (21:33 +0000)
ChangeLog.claws
configure.in
src/compose.c

index d9f4e34b8c325be740d78032e914530184f7cc2b..871885a0ee7ca196e2dac66ea39d7e9879573ebd 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-11 [melvin]    0.8.5claws17
+
+       * src/compose.c
+               Fixed memory leak from bug #622040 (thanks to Martin Kluge)
+
 2002-10-11 [thorsten]  0.8.5claws16 
 
        * src/folderview.c
index c020c2e1e927dffcc37ca1e4049fb8140dc4b1f9..bd3bc317d0ea5981869bf1e2127952526f0b99a9 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws16
+EXTRA_VERSION=claws17
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index beb99970f73f92cc6082d39a4b531f61f352eb62..0628996d8b65f5178c3ea89763e82cd74fc90f86 100644 (file)
@@ -7007,7 +7007,7 @@ static void text_inserted(GtkWidget *widget, const gchar *text,
 
        
        if (prefs_common.autosave && 
-           EDITABLE_LENGTH(editable) % prefs_common.autosave_length == 0)
+           gtk_stext_get_length(GTK_STEXT(widget)) % prefs_common.autosave_length == 0)
                compose_draft_cb((gpointer)compose, 1, NULL);
 }