[evolution/evolution-3-12] e_client_cache_get_client: Fix a memory leak
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/evolution-3-12] e_client_cache_get_client: Fix a memory leak
- Date: Tue, 29 Jul 2014 10:26:55 +0000 (UTC)
commit e557646b98da0ba59f274fc02895ccfe6de3e0fa
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 215c470..b844e49 100644
--- a/e-util/e-client-cache.c
+++ b/e-util/e-client-cache.c
@@ -1256,6 +1256,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]