diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-07-24 13:24:33 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-07-24 13:27:29 -0400 |
commit | ce801641a789ba634f8306ef429d0c65418f9aa0 (patch) | |
tree | 8b955714dd67c79de56bfe08caccb78dda991e0e /gtk/gtkfilechoosernativeportal.c | |
parent | 3f9bcf3b31c77a861d25afc1fb93d1af02bfb484 (diff) | |
download | gtk+-ce801641a789ba634f8306ef429d0c65418f9aa0.tar.gz |
Avoid the use of g_autofree
We can't use this in code that may be built on win32,
so lets just not use it at all.
Diffstat (limited to 'gtk/gtkfilechoosernativeportal.c')
-rw-r--r-- | gtk/gtkfilechoosernativeportal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkfilechoosernativeportal.c b/gtk/gtkfilechoosernativeportal.c index 6f686e434c..b6fa011b53 100644 --- a/gtk/gtkfilechoosernativeportal.c +++ b/gtk/gtkfilechoosernativeportal.c @@ -180,7 +180,7 @@ open_file_msg_cb (GObject *source_object, GtkFileChooserNative *self = data->self; GDBusMessage *reply; GError *error = NULL; - g_autofree char *handle = NULL; + char *handle = NULL; reply = g_dbus_connection_send_message_with_reply_finish (data->connection, res, &error); @@ -227,6 +227,7 @@ open_file_msg_cb (GObject *source_object, } g_object_unref (reply); + g_free (handle); } static GVariant * |