1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* proc.c (bm_free): fix memory leak. [ruby-core:30869] [Bug #3466]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mame 2010-07-15 12:39:36 +00:00
parent b4608406f1
commit dc7ba7e49a
2 changed files with 5 additions and 0 deletions

View file

@ -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]
Thu Jul 15 15:47:32 2010 NARUSE, Yui <naruse@ruby-lang.org>
* regexec.c (onig_search): don't skip non-ANYCHARs when

1
proc.c
View file

@ -871,6 +871,7 @@ bm_free(void *ptr)
xfree(def);
else if (def->alias_count > 0)
def->alias_count--;
xfree(ptr);
}
static size_t