From d26359f823b6aeda2cf9d391cb117a0a509b91d3 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 20 Mar 2015 15:36:56 +0100 Subject: [PATCH] Fix build failure on g_autoptr(gchar) with glib master This was removed in favour of g_autofree --- src/ostree/ot-builtin-show.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ostree/ot-builtin-show.c b/src/ostree/ot-builtin-show.c index 4eb52f36..d45bd677 100644 --- a/src/ostree/ot-builtin-show.c +++ b/src/ostree/ot-builtin-show.c @@ -155,7 +155,7 @@ print_signature (OstreeGpgVerifyResult *result, g_autoptr(GVariant) variant = NULL; g_autoptr(GDateTime) date_time_utc = NULL; g_autoptr(GDateTime) date_time_local = NULL; - g_autoptr(gchar) formatted_date_time = NULL; + g_autofree char *formatted_date_time = NULL; gint64 timestamp; gint64 exp_timestamp; const char *fingerprint;