diff options
author | Dan Winship <danw@src.gnome.org> | 2000-05-09 12:57:31 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-05-09 12:57:31 +0800 |
commit | debd40014f38065b6a72fbadefd60a0cadd2c89d (patch) | |
tree | 5c9a86f3e3e846fbde45640d8a1256e19f894b97 /camel | |
parent | efb0b90afc6ff303981c3cc104e4317a99039979 (diff) | |
download | gsoc2013-evolution-debd40014f38065b6a72fbadefd60a0cadd2c89d.tar.gz gsoc2013-evolution-debd40014f38065b6a72fbadefd60a0cadd2c89d.tar.zst gsoc2013-evolution-debd40014f38065b6a72fbadefd60a0cadd2c89d.zip |
one more refcounting fix I missed before.
* providers/mbox/camel-mbox-folder.c (mbox_get_message_by_uid):
one more refcounting fix I missed before.
svn path=/trunk/; revision=2930
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/providers/mbox/camel-mbox-folder.c | 3 |
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); |