diff options
author | Milan Crha <mcrha@redhat.com> | 2011-09-15 20:54:31 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-21 21:50:41 +0800 |
commit | 1f8eabe94fa7ac101606bb441d267db1fbac09c6 (patch) | |
tree | b08a285a44d1a8f2ef23d4e28390da3e6909ae5a /modules/calendar/e-memo-shell-backend.c | |
parent | 006efb8e1e25b064911c739ec5c1ddee06a9531f (diff) | |
download | gsoc2013-evolution-1f8eabe94fa7ac101606bb441d267db1fbac09c6.tar gsoc2013-evolution-1f8eabe94fa7ac101606bb441d267db1fbac09c6.tar.gz gsoc2013-evolution-1f8eabe94fa7ac101606bb441d267db1fbac09c6.tar.bz2 gsoc2013-evolution-1f8eabe94fa7ac101606bb441d267db1fbac09c6.tar.lz gsoc2013-evolution-1f8eabe94fa7ac101606bb441d267db1fbac09c6.tar.xz gsoc2013-evolution-1f8eabe94fa7ac101606bb441d267db1fbac09c6.tar.zst gsoc2013-evolution-1f8eabe94fa7ac101606bb441d267db1fbac09c6.zip |
Bug #659125 - Reference counting issues in calendar
Diffstat (limited to 'modules/calendar/e-memo-shell-backend.c')
-rw-r--r-- | modules/calendar/e-memo-shell-backend.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/calendar/e-memo-shell-backend.c b/modules/calendar/e-memo-shell-backend.c index 6f8070094e..7edb82d6bb 100644 --- a/modules/calendar/e-memo-shell-backend.c +++ b/modules/calendar/e-memo-shell-backend.c @@ -422,6 +422,8 @@ memo_shell_backend_handle_uri_cb (EShellBackend *shell_backend, g_warning ( "%s: Failed to create/open client: %s", G_STRFUNC, error->message); + if (client != NULL) + g_object_unref (client); g_object_unref (source_list); g_error_free (error); goto exit; @@ -443,6 +445,7 @@ memo_shell_backend_handle_uri_cb (EShellBackend *shell_backend, "%s: Failed to get object: %s", G_STRFUNC, error->message); g_object_unref (source_list); + g_object_unref (client); g_error_free (error); goto exit; } |