diff options
Diffstat (limited to 'vte3/vte3-pty_memory_leak.patch')
-rw-r--r-- | vte3/vte3-pty_memory_leak.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/vte3/vte3-pty_memory_leak.patch b/vte3/vte3-pty_memory_leak.patch new file mode 100644 index 000000000..e82ec89ee --- /dev/null +++ b/vte3/vte3-pty_memory_leak.patch @@ -0,0 +1,25 @@ +From ddd6dc998d9842369ec20f8e83c380401a8aed02 Mon Sep 17 00:00:00 2001 +From: Christian Persch <chpe@src.gnome.org> +Date: Sat, 18 Nov 2017 19:10:10 +0100 +Subject: pty: Fix mem leak + +(cherry picked from commit 304e29d8a603828f42410ceac39ad803fcac475b) +--- + src/pty.cc | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/pty.cc b/src/pty.cc +index c1741d2..0c0b001 100644 +--- a/src/pty.cc ++++ b/src/pty.cc +@@ -1200,5 +1200,7 @@ vte_pty_spawn_finish(VtePty *pty, + *child_pid = *(GPid*)pidptr; + if (error) + *error = nullptr; ++ ++ g_free(pidptr); + return TRUE; + } +-- +cgit v0.12 + |