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

* ext/strscan/strscan.c (strscan_free): remove useless code. [ruby-dev:26368] [ruby-dev:27389]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2005-10-06 11:11:23 +00:00
parent c8f3c6b170
commit 1022702acf
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Oct 6 20:10:38 2005 Minero Aoki <aamine@loveruby.net>
* ext/strscan/strscan.c (strscan_free): remove useless code.
[ruby-dev:26368] [ruby-dev:27389]
Thu Oct 6 01:02:19 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
* range.c (rb_range_beg_len): should return Qfalse for non-range

View file

@ -165,7 +165,6 @@ strscan_free(p)
struct strscanner *p;
{
onig_region_free(&(p->regs), 0);
memset(p, sizeof(struct strscanner), 0);
free(p);
}