system-handler: Don't leak path string

Without &, ^ay dups the string.
This commit is contained in:
Jan Alexander Steffens (heftig) committed 2016-06-20 23:42:22 +02:00
1 parent 55e26c296f
commit 599f8b963d
1 file changed
+1 -1
+1 -1
View File
@@ -579,7 +579,7 @@ flatpak_authorize_method_handler (GDBusInterfaceSkeleton *interface,
{
const char *path;
g_variant_get_child (parameters, 0, "^ay", &path);
g_variant_get_child (parameters, 0, "^&ay", &path);
action = "org.freedesktop.Flatpak.install-bundle";