[gvfs] mountsource: Fix leaks of GSimpleAsyncResult



commit 5c72b0ef689b8fe6a49cf198be62481bc0436ee8
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Mon Aug 22 15:01:27 2011 +0200

    mountsource: Fix leaks of GSimpleAsyncResult
    
    https://bugzilla.gnome.org/show_bug.cgi?id=656511

 common/gmountsource.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/common/gmountsource.c b/common/gmountsource.c
index 539ceda..d228726 100644
--- a/common/gmountsource.c
+++ b/common/gmountsource.c
@@ -213,6 +213,7 @@ ask_password_reply (DBusMessage *reply,
     }
 
   g_simple_async_result_complete (result);
+  g_object_unref (result);
 }
 
 void
@@ -532,6 +533,7 @@ ask_question_reply (DBusMessage *reply,
     }
 
   g_simple_async_result_complete (result);
+  g_object_unref (result);
 }
 
 gboolean
@@ -752,6 +754,7 @@ show_processes_reply (DBusMessage *reply,
     }
 
   g_simple_async_result_complete (result);
+  g_object_unref (result);
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]