mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-18 13:52:53 -04:00
session-helper: Avoid a memory leak
Apply the fix suggested more than a year ago in: https://github.com/flatpak/flatpak/issues/5821#issuecomment-2121673464 Signed-off-by: Martin Schwenke <martin@meltin.net> Fixes: https://github.com/flatpak/flatpak/issues/5821
This commit is contained in:
@@ -215,7 +215,7 @@ handle_host_command (FlatpakDevelopment *object,
|
||||
gsize i, j, n_fds, n_envs;
|
||||
const gint *fds;
|
||||
g_autofree FdMapEntry *fd_map = NULL;
|
||||
gchar **env;
|
||||
g_auto(GStrv) env = NULL;
|
||||
gint32 max_fd;
|
||||
|
||||
if (*arg_cwd_path == 0)
|
||||
|
||||
Reference in New Issue
Block a user