[gnome-software/wip/temp/ubuntu-xenial-rebased: 189/326] gs-ubuntuone: Don't deference some strings which are already pointers
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 189/326] gs-ubuntuone: Don't deference some strings which are already pointers
- Date: Fri, 29 Apr 2016 10:03:14 +0000 (UTC)
commit 283af5ab8fd15200c085712a0073590e329b48c1
Author: Iain Lane <iain orangesquash org uk>
Date: Wed Apr 6 16:44:39 2016 +0100
gs-ubuntuone: Don't deference some strings which are already pointers
This is for the no credentials case.
Crash fix.
src/plugins/gs-ubuntuone.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/gs-ubuntuone.c b/src/plugins/gs-ubuntuone.c
index 338047a..9fe63a1 100644
--- a/src/plugins/gs-ubuntuone.c
+++ b/src/plugins/gs-ubuntuone.c
@@ -246,10 +246,10 @@ gs_ubuntuone_get_credentials (gchar **consumer_key, gchar **consumer_secret, gch
return TRUE;
}
- g_free (&secret_context.token_secret);
- g_free (&secret_context.token_key);
- g_free (&secret_context.consumer_secret);
- g_free (&secret_context.consumer_key);
+ g_free (secret_context.token_secret);
+ g_free (secret_context.token_key);
+ g_free (secret_context.consumer_secret);
+ g_free (secret_context.consumer_key);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]