From e1328203300cd8f19524b55a9ae8d047ce4fba9f Mon Sep 17 00:00:00 2001 From: Matteo Bruni Date: Sat, 26 Dec 2009 16:19:06 +0100 Subject: [PATCH] wpp: Clean state on error path. --- libs/wpp/wpp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/wpp/wpp.c b/libs/wpp/wpp.c index 935bd499780..bce968aaea5 100644 --- a/libs/wpp/wpp.c +++ b/libs/wpp/wpp.c @@ -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; }