mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merges r28649 from trunk into ruby_1_9_2.
-- * proc.c (bm_free): fix memory leak. [ruby-core:30869] [Bug #3466] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2153dda2fc
commit
edf6463d8e
2 changed files with 5 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Jul 15 21:38:31 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
|
* proc.c (bm_free): fix memory leak. [ruby-core:30869] [Bug #3466]
|
||||||
|
|
||||||
Tue Jul 13 12:04:57 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
Tue Jul 13 12:04:57 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* missing/close.c: keep original errno.
|
* missing/close.c: keep original errno.
|
||||||
|
|
|
||||||
1
proc.c
1
proc.c
|
|
@ -871,6 +871,7 @@ bm_free(void *ptr)
|
||||||
xfree(def);
|
xfree(def);
|
||||||
else if (def->alias_count > 0)
|
else if (def->alias_count > 0)
|
||||||
def->alias_count--;
|
def->alias_count--;
|
||||||
|
xfree(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
static size_t
|
static size_t
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue