diff options
author | Dan Winship <danw@src.gnome.org> | 2000-08-13 06:06:52 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-08-13 06:06:52 +0800 |
commit | ffc1f6b79e3857a391c68bfc3c8241d11ae9166c (patch) | |
tree | 15fc7ab87a177268b74780df556635506276b2bc | |
parent | 6d313c9f852aa608b6e841e2ae42ab345cf6bc4b (diff) | |
download | gsoc2013-evolution-ffc1f6b79e3857a391c68bfc3c8241d11ae9166c.tar gsoc2013-evolution-ffc1f6b79e3857a391c68bfc3c8241d11ae9166c.tar.gz gsoc2013-evolution-ffc1f6b79e3857a391c68bfc3c8241d11ae9166c.tar.bz2 gsoc2013-evolution-ffc1f6b79e3857a391c68bfc3c8241d11ae9166c.tar.lz gsoc2013-evolution-ffc1f6b79e3857a391c68bfc3c8241d11ae9166c.tar.xz gsoc2013-evolution-ffc1f6b79e3857a391c68bfc3c8241d11ae9166c.tar.zst gsoc2013-evolution-ffc1f6b79e3857a391c68bfc3c8241d11ae9166c.zip |
Don't leak the transport.
* mail-ops.c (do_send_mail): Don't leak the transport.
svn path=/trunk/; revision=4784
-rw-r--r-- | mail/ChangeLog | 2 | ||||
-rw-r--r-- | mail/mail-ops.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 4af8bf32fa..2293762ea1 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,7 @@ 2000-08-12 Dan Winship <danw@helixcode.com> + * mail-ops.c (do_send_mail): Don't leak the transport. + * mail-tools.c (mail_tool_get_folder_from_urlname): Don't ref the store returned from camel_session_get_store. It's already reffed. (mail_tool_get_root_of_store): Ditto. diff --git a/mail/mail-ops.c b/mail/mail-ops.c index ce99a75dad..db2230ccb5 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -323,6 +323,7 @@ do_send_mail (gpointer in_data, gpointer op_data, CamelException * ex) mail_tool_send_via_transport (xport, CAMEL_MEDIUM (input->message), ex); + camel_object_unref (CAMEL_OBJECT (xport)); if (camel_exception_is_set (ex)) return; |