diff options
author | Owen W. Taylor <otaylor@fishsoup.net> | 2014-10-09 12:26:42 -0400 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2014-10-09 15:16:52 -0400 |
commit | eab417a368ca267510938f5aab1378080e525839 (patch) | |
tree | 853fae5eb5a88230ae1d6601307dee117e435dbd /libgdm | |
parent | f303808807a9774fbd3693806f3c546dd517f6ea (diff) | |
download | gdm-eab417a368ca267510938f5aab1378080e525839.tar.gz |
Unref result of g_async_result_get_source_object()
g_async_result_get_source_object() returns a reference that must be
unreferenced.
https://bugzilla.gnome.org/show_bug.cgi?id=738246
Diffstat (limited to 'libgdm')
-rw-r--r-- | libgdm/gdm-client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgdm/gdm-client.c b/libgdm/gdm-client.c index b8020341..168eabd4 100644 --- a/libgdm/gdm-client.c +++ b/libgdm/gdm-client.c @@ -105,6 +105,7 @@ on_got_manager (GdmManager *manager, g_simple_async_result_complete_in_idle (operation_result); g_object_unref (operation_result); + g_object_unref (client); } static void @@ -352,6 +353,7 @@ on_session_opened (GdmManager *manager, g_simple_async_result_take_error (operation_result, error); g_simple_async_result_complete_in_idle (operation_result); g_object_unref (operation_result); + g_object_unref (client); return; } @@ -363,6 +365,7 @@ on_session_opened (GdmManager *manager, (GAsyncReadyCallback) on_connected, operation_result); + g_object_unref (client); } static void |