[gnome-software/wip/temp/ubuntu-xenial-rebased: 196/329] Wrap the g_autofrees



commit 391105f0b10f707fc3db4bb25dae3645e23a2265
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]