[gnome-software/wip/iainl/ubuntu-xenial: 16/56] Fix free leak on error
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/iainl/ubuntu-xenial: 16/56] Fix free leak on error
- Date: Thu, 14 Apr 2016 06:31:09 +0000 (UTC)
commit 5d8d533a6e1616ffd943c9672207fbb516069844
Author: Robert Ancell <robert ancell canonical com>
Date: Thu Jan 28 21:18:39 2016 +1300
Fix free leak on error
src/plugins/gs-plugin-snappy.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-snappy.c b/src/plugins/gs-plugin-snappy.c
index f6efb95..e0b579a 100644
--- a/src/plugins/gs-plugin-snappy.c
+++ b/src/plugins/gs-plugin-snappy.c
@@ -204,7 +204,7 @@ get_apps (GsPlugin *plugin, GList **list, AppFilterFunc filter_func, gpointer us
{
g_autoptr(GSocket) socket = NULL;
guint status_code;
- g_autofree gchar *reason_phrase, *response_type = NULL, *response = NULL;
+ g_autofree gchar *reason_phrase = NULL, *response_type = NULL, *response = NULL;
JsonParser *parser;
JsonObject *root, *result, *packages;
GList *package_list, *link;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]