diff options
author | Dan Winship <danw@src.gnome.org> | 2000-06-02 14:34:58 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-06-02 14:34:58 +0800 |
commit | 7a5b5c31e4312fbf307c39b25d79a2610c5559ae (patch) | |
tree | 10d975896e1cc2373c64fdaac30eb0e1a937becd /camel/providers/pop3/camel-pop3-folder.c | |
parent | 9717e6f9efc0f5acfb0c15e576a703e02c0cd753 (diff) | |
download | gsoc2013-evolution-7a5b5c31e4312fbf307c39b25d79a2610c5559ae.tar gsoc2013-evolution-7a5b5c31e4312fbf307c39b25d79a2610c5559ae.tar.gz gsoc2013-evolution-7a5b5c31e4312fbf307c39b25d79a2610c5559ae.tar.bz2 gsoc2013-evolution-7a5b5c31e4312fbf307c39b25d79a2610c5559ae.tar.lz gsoc2013-evolution-7a5b5c31e4312fbf307c39b25d79a2610c5559ae.tar.xz gsoc2013-evolution-7a5b5c31e4312fbf307c39b25d79a2610c5559ae.tar.zst gsoc2013-evolution-7a5b5c31e4312fbf307c39b25d79a2610c5559ae.zip |
Fun with purify.
* providers/pop3/camel-pop3-store.c (pop3_connect): free msg on
success as well as failure.
(camel_pop3_command_get_additional_data): free buf after reading
the last line (".").
* providers/pop3/camel-pop3-folder.c (get_message_by_uid): free
body data after creating the memstream from it (which will copy
the data).
* providers/mbox/camel-mbox-folder.c (mbox_finalize): free summary
and index paths.
* camel-data-wrapper.c (finalize): unref the stream, if it exists.
svn path=/trunk/; revision=3381
Diffstat (limited to 'camel/providers/pop3/camel-pop3-folder.c')
-rw-r--r-- | camel/providers/pop3/camel-pop3-folder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/providers/pop3/camel-pop3-folder.c b/camel/providers/pop3/camel-pop3-folder.c index 45687e4f33..396bbc04f6 100644 --- a/camel/providers/pop3/camel-pop3-folder.c +++ b/camel/providers/pop3/camel-pop3-folder.c @@ -198,6 +198,7 @@ get_message_by_uid (CamelFolder *folder, const char *uid, CamelException *ex) } msgstream = camel_stream_mem_new_with_buffer (body, strlen (body)); + g_free (body); msg = camel_mime_message_new (); camel_data_wrapper_construct_from_stream (CAMEL_DATA_WRAPPER (msg), msgstream); |