Module: wine Branch: master Commit: fc3114ca806151f8ee81677d0382b0e8164747e5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fc3114ca806151f8ee81677d03...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Dec 22 21:26:43 2010 +0100
widl: Don't free the input file name since it's stored in various places in the location info.
---
tools/widl/parser.l | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/tools/widl/parser.l b/tools/widl/parser.l index 3a535e8..e806167 100644 --- a/tools/widl/parser.l +++ b/tools/widl/parser.l @@ -142,7 +142,6 @@ UUID *parse_uuid(const char *u) error_loc("Malformed '#...' line-directive; missing terminating "\n"); *cptr = '\0'; line_number = lineno - 1; /* We didn't read the newline */ - free( input_name ); input_name = xstrdup(fname); } <INITIAL,ATTR>" yy_push_state(QUOTE); cbufidx = 0;