+2004-11-23 [colin] 0.9.12cvs158.9
+
+ * src/compose.c
+ Fix double-free when forwarding
+ * src/msgcache.c
+ Fix leak on error path
+
+
2004-11-23 [colin] 0.9.12cvs158.8
* src/compose.c
( cvs diff -u -r 1.382.2.70 -r 1.382.2.71 src/compose.c; ) > 0.9.12cvs158.6.patchset
( cvs diff -u -r 1.382.2.71 -r 1.382.2.72 src/compose.c; ) > 0.9.12cvs158.7.patchset
( cvs diff -u -r 1.382.2.72 -r 1.382.2.73 src/compose.c; ) > 0.9.12cvs158.8.patchset
+( cvs diff -u -r 1.382.2.73 -r 1.382.2.74 src/compose.c; cvs diff -u -r 1.16.2.9 -r 1.16.2.10 src/msgcache.c; ) > 0.9.12cvs158.9.patchset
BINARY_AGE=0
EXTRA_VERSION=158
EXTRA_RELEASE=
-EXTRA_GTK2_VERSION=.8
+EXTRA_GTK2_VERSION=.9
if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}${EXTRA_RELEASE}${EXTRA_GTK2_VERSION}
msginfo = procheader_parse_file(file, flags, FALSE, FALSE);
if (msginfo && msginfo->subject)
- name = msginfo->subject;
+ name = g_strdup(msginfo->subject);
else
name = g_path_get_basename(filename ? filename : file);
fclose(fp);
g_hash_table_thaw(cache->msgnum_table);
- if(error) {
- msgcache_destroy(cache);
- return NULL;
- }
-
if (conv != NULL) {
if (conv->free != NULL)
conv->free(conv);
g_free(conv);
}
+ if(error) {
+ msgcache_destroy(cache);
+ return NULL;
+ }
+
cache->last_access = time(NULL);
debug_print("done. (%d items read)\n", g_hash_table_size(cache->msgnum_table));