From 5523079faaf83a58c4706d77d8c5c8d52de697c2 Mon Sep 17 00:00:00 2001 From: Christian Howe Date: Fri, 8 Aug 2014 19:35:11 -0400 Subject: [PATCH 1/2] Updated winpty dependency --- deps/winpty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/winpty b/deps/winpty index 25e3186..4f38a87 160000 --- a/deps/winpty +++ b/deps/winpty @@ -1 +1 @@ -Subproject commit 25e3186e9eb792d21ac02d69797a1aefc64c45d9 +Subproject commit 4f38a876ec83e7b5aba5cc9ed8e0b0c31bc84b05 From 497053497c58e79f8f9a7f962f8549ad4b59cfca Mon Sep 17 00:00:00 2001 From: Christian Howe Date: Fri, 8 Aug 2014 19:41:38 -0400 Subject: [PATCH 2/2] Remove unnecessary delete --- src/win/pty.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/win/pty.cc b/src/win/pty.cc index daddc13..2607704 100644 --- a/src/win/pty.cc +++ b/src/win/pty.cc @@ -210,8 +210,6 @@ static NAN_METHOD(PtyOpen) { marshal->Set(NanNew("pty"), NanNew(InterlockedIncrement(&ptyCounter))); marshal->Set(NanNew("fd"), NanNew(-1)); - delete pipeName; - NanReturnValue(marshal); }