[gnome-software/wip/temp/ubuntu-xenial-rebased: 193/326] Wrap the g_autofrees



commit e385396f55db40f1134b5f978414d4d5ff21c7c3
Author: Iain Lane <iain orangesquash org uk>
Date:   Mon Apr 11 09:26:07 2016 +0100

    Wrap the g_autofrees

 src/plugins/gs-plugin-apt.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-apt.c b/src/plugins/gs-plugin-apt.c
index 888aac1..328ef7d 100644
--- a/src/plugins/gs-plugin-apt.c
+++ b/src/plugins/gs-plugin-apt.c
@@ -402,7 +402,12 @@ done:
 static void
 get_changelog (GsPlugin *plugin, GsApp *app)
 {
-       g_autofree gchar *source_prefix = NULL, *uri = NULL, *changelog_prefix = NULL, *binary_source = NULL, 
*current_version = NULL, *update_version = NULL;
+       g_autofree gchar *source_prefix = NULL,
+                        *uri = NULL,
+                        *changelog_prefix = NULL,
+                        *binary_source = NULL,
+                        *current_version = NULL,
+                        *update_version = NULL;
        g_autoptr(SoupMessage) msg = NULL;
        guint status_code;
        g_auto(GStrv) lines = NULL;


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