[evolution-data-server] Fix memory leak on imapx_server_get_message() failure
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Fix memory leak on imapx_server_get_message() failure
- Date: Mon, 25 Oct 2010 11:19:58 +0000 (UTC)
commit ab18d195681af23e48fb6930f3073fb1a2a4659d
Author: David Woodhouse <David Woodhouse intel com>
Date: Mon Oct 25 12:18:53 2010 +0100
Fix memory leak on imapx_server_get_message() failure
camel/providers/imapx/camel-imapx-server.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index 20082eb..246b9bb 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -5182,6 +5182,8 @@ imapx_server_get_message (CamelIMAPXServer *is,
if (success)
stream = job->u.get_message.stream;
+ else
+ g_object_unref (job->u.get_message.stream);
g_free (job);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]