summaryrefslogtreecommitdiff
path: root/ext/strscan
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-06 11:11:23 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-06 11:11:23 +0000
commit1022702acf4f25b0d6e11ce5ad6743fbde59bb25 (patch)
tree4f8022345c7f5700804e9ee86f2e6fdb7b482c7c /ext/strscan
parentc8f3c6b170ac79e87bf22e60d54722de7afc140b (diff)
* 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
Diffstat (limited to 'ext/strscan')
-rw-r--r--ext/strscan/strscan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/strscan/strscan.c b/ext/strscan/strscan.c
index 4a27dfd..d9d58fd 100644
--- a/ext/strscan/strscan.c
+++ b/ext/strscan/strscan.c
@@ -165,7 +165,6 @@ strscan_free(p)
struct strscanner *p;
{
onig_region_free(&(p->regs), 0);
- memset(p, sizeof(struct strscanner), 0);
free(p);
}