wpp: Clean state on error path.

This commit is contained in:
Matteo Bruni 2009-12-26 16:19:06 +01:00 committed by Alexandre Julliard
parent e0d02dfcc8
commit e132820330
1 changed files with 1 additions and 0 deletions

View File

@ -180,6 +180,7 @@ int wpp_parse( const char *input, FILE *output )
else if (!(pp_status.file = wpp_callbacks->open(input, 1)))
{
ppy_error("Could not open %s\n", input);
pp_pop_define_state();
return 2;
}