Fix memory leak in recent patch.

This commit is contained in:
Cary R 2008-06-25 11:35:59 -07:00 committed by Stephen Williams
parent 4163eb28d0
commit 897f14e60a
1 changed files with 1 additions and 1 deletions

View File

@ -1362,7 +1362,7 @@ static void do_expand(int use_args)
}
isp->next = istack;
isp->path = strdup(istack->path);
isp->path = istack->path;
isp->lineno = istack->lineno;
istack->yybs = YY_CURRENT_BUFFER;
istack = isp;