[vte] Plug refcount leak
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] Plug refcount leak
- Date: Fri, 15 Oct 2010 22:03:39 +0000 (UTC)
commit 80676b14ddc84ea28571501ec78fd9fc885446b8
Author: Christian Persch <chpe gnome org>
Date: Sat Oct 16 00:02:07 2010 +0200
Plug refcount leak
The leaked VtePty leaked FDs, too. Bug #632257.
src/vte.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 867a9c1..b9e1b2a 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]