[vte/vte-0-26] Plug refcount leak
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-0-26] Plug refcount leak
- Date: Fri, 15 Oct 2010 22:04:07 +0000 (UTC)
commit c5ff71e924d7b3598e332392c4cc4c19e89a7d6f
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 72aa1a1..d1ed0e5 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]