diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-05-31 08:46:20 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-05-31 08:46:20 +0800 |
commit | b84dbb018bd3c01f297755d20a2ee2dd3df55b07 (patch) | |
tree | 5182ec13d383ac53e15292ea347918d7253d8a3d /camel/providers | |
parent | 74ae9178ab9e025463dd1d167282a0de65389a24 (diff) | |
download | gsoc2013-evolution-b84dbb018bd3c01f297755d20a2ee2dd3df55b07.tar gsoc2013-evolution-b84dbb018bd3c01f297755d20a2ee2dd3df55b07.tar.gz gsoc2013-evolution-b84dbb018bd3c01f297755d20a2ee2dd3df55b07.tar.bz2 gsoc2013-evolution-b84dbb018bd3c01f297755d20a2ee2dd3df55b07.tar.lz gsoc2013-evolution-b84dbb018bd3c01f297755d20a2ee2dd3df55b07.tar.xz gsoc2013-evolution-b84dbb018bd3c01f297755d20a2ee2dd3df55b07.tar.zst gsoc2013-evolution-b84dbb018bd3c01f297755d20a2ee2dd3df55b07.zip |
On error, don't leak the GByteArray buffer.
2002-05-30 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-store.c (camel_imap_store_readline):
On error, don't leak the GByteArray buffer.
svn path=/trunk/; revision=17054
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index dd73f084eb..1e6284b572 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -2269,6 +2269,7 @@ camel_imap_store_readline (CamelImapStore *store, char **dest, CamelException *e g_strerror (errno)); camel_service_disconnect (CAMEL_SERVICE (store), FALSE, NULL); + g_byte_array_free (ba, TRUE); return -1; } |