system-handler: Don't leak path string

Without &, ^ay dups the string.
This commit is contained in:
Jan Alexander Steffens (heftig)
2016-06-20 23:42:19 +02:00
parent 55e26c296f
commit 599f8b963d

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";