mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-03 13:36:02 -04:00
system-handler: Don't leak path string
Without &, ^ay dups the string.
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user