Commit e1328203 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

wpp: Clean state on error path.

parent e0d02dfc
...@@ -180,6 +180,7 @@ int wpp_parse( const char *input, FILE *output ) ...@@ -180,6 +180,7 @@ int wpp_parse( const char *input, FILE *output )
else if (!(pp_status.file = wpp_callbacks->open(input, 1))) else if (!(pp_status.file = wpp_callbacks->open(input, 1)))
{ {
ppy_error("Could not open %s\n", input); ppy_error("Could not open %s\n", input);
pp_pop_define_state();
return 2; return 2;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment