Rob Shearman : widl: Don' t free input_name in pop_import as we keep pointers to it in the var_t type now .

Alexandre Julliard julliard at winehq.org
Tue Apr 22 06:47:41 CDT 2008


Module: wine
Branch: master
Commit: b81904b8eef3c13d1667ccc05224c7e1e1817cb2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b81904b8eef3c13d1667ccc05224c7e1e1817cb2

Author: Rob Shearman <rob at codeweavers.com>
Date:   Tue Apr 22 11:36:07 2008 +0100

widl: Don't free input_name in pop_import as we keep pointers to it in the var_t type now.

---

 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 17aff55..4e2a6f4 100644
--- a/tools/widl/parser.l
+++ b/tools/widl/parser.l
@@ -390,7 +390,6 @@ void pop_import(void)
 		free(temp_name);
 	}
 	temp_name = import_stack[ptr].temp_name;
-	free( input_name );
 	input_name = import_stack[ptr].input_name;
 	line_number = import_stack[ptr].line_number;
 	import_stack_ptr--;




More information about the wine-cvs mailing list