[gnome-online-accounts/gnome-3-18] lastfm: Fix memory leaks in lastfm_login()
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/gnome-3-18] lastfm: Fix memory leaks in lastfm_login()
- Date: Thu, 1 Oct 2015 17:48:22 +0000 (UTC)
commit eb227f66a0022c28c849fe7eb53c8c1f8a491713
Author: Christophe Fergeau <cfergeau redhat com>
Date: Sat Sep 19 22:56:23 2015 +0200
lastfm: Fix memory leaks in lastfm_login()
https://bugzilla.gnome.org/show_bug.cgi?id=755315
src/goabackend/goalastfmprovider.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/goalastfmprovider.c b/src/goabackend/goalastfmprovider.c
index 9d04f2c..a53042f 100644
--- a/src/goabackend/goalastfmprovider.c
+++ b/src/goabackend/goalastfmprovider.c
@@ -620,6 +620,10 @@ lastfm_login (GoaProvider *provider,
rest_proxy_call_async (call, callback, NULL, data, &data->error);
g_signal_connect (cancellable, "cancelled", G_CALLBACK (on_rest_proxy_call_cancelled_cb), call);
+
+ g_free (sig_md5);
+ g_free (sig);
+ g_object_unref (call);
}
/* ---------------------------------------------------------------------------------------------------- */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]