summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-04 15:23:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-04 15:23:26 +0000
commitf3c7c0e4b10f2249b80a50339871beade79a9f8e (patch)
treec463018be01dede3d7220e7964430a7bb44b474e /parse.y
parentbb743b3294ee48ec605238d306c47502319b49bb (diff)
* parse.y (yycompile): strdup()'ed twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 0 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index e223b43c45..057035bf1f 100644
--- a/parse.y
+++ b/parse.y
@@ -1947,8 +1947,6 @@ yycompile(f, line)
int n;
NODE *node = 0;
- f = strdup(f);
-
if (!compile_for_eval && rb_safe_level() == 0 &&
rb_const_defined(rb_cObject, rb_intern("SCRIPT_LINES__"))) {
VALUE hash, fname;