[evolution] e_client_cache_get_client: Fix a memory leak
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] e_client_cache_get_client: Fix a memory leak
- Date: Tue, 29 Jul 2014 10:24:53 +0000 (UTC)
commit b6d99e982e2d5a1c18f0991570a42a1c4b6b7d2d
Author: Milan Crha <mcrha redhat com>
Date: Tue Jul 29 12:24:28 2014 +0200
e_client_cache_get_client: Fix a memory leak
e-util/e-client-cache.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-client-cache.c b/e-util/e-client-cache.c
index 19bfa8e..a10b59a 100644
--- a/e-util/e-client-cache.c
+++ b/e-util/e-client-cache.c
@@ -1276,6 +1276,8 @@ e_client_cache_get_client (EClientCache *client_cache,
g_warn_if_reached (); /* Should never happen. */
exit:
+ if (client_data)
+ client_data_unref (client_data);
g_object_unref (simple);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]