diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-16 12:56:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-16 12:56:29 +0000 |
commit | cb54008be67547866fa7a552a3eff5059d34c1b3 (patch) | |
tree | 382100cd92c8fe645edae9c8e0fba362230a737a /ext/digest | |
parent | 5ffb21ebbd37bbb71b9c6f25c9c621cb3f037a1b (diff) | |
download | bundler-cb54008be67547866fa7a552a3eff5059d34c1b3.tar.gz |
wrapper object before alloc
* error.c (rb_name_err_mesg_new): new wrapper object before
allocate data area and get rid of potential memory leak.
GC guards are no longer needed.
* file.c (stat_new_0): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest')
0 files changed, 0 insertions, 0 deletions