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/providers | |
parent | efb0b90afc6ff303981c3cc104e4317a99039979 (diff) | |
download | gsoc2013-evolution-debd40014f38065b6a72fbadefd60a0cadd2c89d.tar gsoc2013-evolution-debd40014f38065b6a72fbadefd60a0cadd2c89d.tar.gz gsoc2013-evolution-debd40014f38065b6a72fbadefd60a0cadd2c89d.tar.bz2 gsoc2013-evolution-debd40014f38065b6a72fbadefd60a0cadd2c89d.tar.lz gsoc2013-evolution-debd40014f38065b6a72fbadefd60a0cadd2c89d.tar.xz 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/providers')
-rw-r--r-- | camel/providers/mbox/camel-mbox-folder.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |