diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-18 07:32:17 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-18 07:32:17 +0000 |
commit | 61d79504c98669ac8243be5b1b4a35840ca3831c (patch) | |
tree | 96e7c883858ce55f4043f4b2b7927c38bb8b51f9 /ChangeLog | |
parent | b56fbb9b121665ab54e3bc1b9b77d5ad3a351e4f (diff) | |
download | ruby-61d79504c98669ac8243be5b1b4a35840ca3831c.tar.gz |
proc.c: allocate wrapper object first
* proc.c (mnew_from_me): allocate structs after allocated wrapper
object successfully, to get rid of potential memory leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Wed Sep 18 16:32:15 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * proc.c (mnew_from_me): allocate structs after allocated wrapper + object successfully, to get rid of potential memory leak. + Tue Sep 17 15:54:03 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/shell/command-processor.rb (Shell::CommandProcessor#find_system_command): |