Commit 80676b14 authored by Christian Persch's avatar Christian Persch
Browse files

Plug refcount leak

The leaked VtePty leaked FDs, too. Bug #632257.
parent 2944c2ac
......@@ -3670,6 +3670,7 @@ vte_terminal_fork_command_full(VteTerminal *terminal,
vte_terminal_set_pty_object(terminal, pty);
vte_terminal_watch_child(terminal, pid);
g_object_unref (pty);
if (child_pid)
*child_pid = pid;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment