[network-manager-applet/nma-0-9-8] applet: free the GCancellables used with libsecret
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/nma-0-9-8] applet: free the GCancellables used with libsecret
- Date: Wed, 27 Feb 2013 09:24:44 +0000 (UTC)
commit d9ad22e63e8e1e2f83527a437debaa0c4cb8450d
Author: Dan Winship <danw gnome org>
Date: Mon Feb 25 08:55:49 2013 +0100
applet: free the GCancellables used with libsecret
https://bugzilla.gnome.org/show_bug.cgi?id=694651
src/applet-agent.c | 1 +
src/applet-device-gsm.c | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/applet-agent.c b/src/applet-agent.c
index 48bd02f..4afb2a7 100644
--- a/src/applet-agent.c
+++ b/src/applet-agent.c
@@ -142,6 +142,7 @@ request_free (Request *r)
g_free (r->path);
g_free (r->setting_name);
g_strfreev (r->hints);
+ g_object_unref (r->cancellable);
memset (r, 0, sizeof (*r));
g_slice_free (Request, r);
}
diff --git a/src/applet-device-gsm.c b/src/applet-device-gsm.c
index 2ab8edb..4575f39 100644
--- a/src/applet-device-gsm.c
+++ b/src/applet-device-gsm.c
@@ -639,6 +639,8 @@ gsm_device_info_free (gpointer data)
if (info->dialog)
unlock_dialog_destroy (info);
+ g_object_unref (info->cancellable);
+
g_free (info->devid);
g_free (info->simid);
g_free (info->op_code);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]