aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/mbox/camel-mbox-folder.c3
2 files changed, 6 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 37f3dbbce3..dffbc5ffd5 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-09 Dan Winship <danw@helixcode.com>
+
+ * providers/mbox/camel-mbox-folder.c (mbox_get_message_by_uid):
+ one more refcounting fix I missed before.
+
2000-05-08 Jeffrey Stedfast <fejj@stampede.org>
* camel-smtp-transport.c: no longer frees memory it shouldn't,
@@ -5,7 +10,6 @@
(perhaps it should use a different CamelException variable than
is passed to the camel smtp module?)
-
2000-05-08 Dan Winship <danw@helixcode.com>
* camel-stream.c (camel_stream_read, camel_stream_write,
diff --git a/camel/providers/mbox/camel-mbox-folder.c b/camel/providers/mbox/camel-mbox-folder.c
index 5cc4cb3efd..c38951a74d 100644
--- a/camel/providers/mbox/camel-mbox-folder.c
+++ b/camel/providers/mbox/camel-mbox-folder.c
@@ -872,6 +872,7 @@ mbox_get_message_by_uid (CamelFolder *folder, const gchar *uid, CamelException *
/* we use a parser to verify the message is correct, and in the correct position */
parser = camel_mime_parser_new();
camel_mime_parser_init_with_stream(parser, message_stream);
+ gtk_object_unref((GtkObject *)message_stream);
camel_mime_parser_scan_from(parser, TRUE);
camel_mime_parser_seek(parser, info->frompos, SEEK_SET);
@@ -915,8 +916,6 @@ fail:
}
if (parser)
gtk_object_unref((GtkObject *)parser);
- if (message_stream)
- gtk_object_unref((GtkObject *)message_stream);
if (message)
gtk_object_unref((GtkObject *)message);