Matteo Bruni : wpp: Clean state on error path.
Alexandre Julliard
julliard at winehq.org
Tue Dec 29 09:06:43 CST 2009
Module: wine
Branch: master
Commit: e1328203300cd8f19524b55a9ae8d047ce4fba9f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e1328203300cd8f19524b55a9ae8d047ce4fba9f
Author: Matteo Bruni <matteo.mystral at gmail.com>
Date: Sat Dec 26 16:19:06 2009 +0100
wpp: Clean state on error path.
---
libs/wpp/wpp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libs/wpp/wpp.c b/libs/wpp/wpp.c
index 935bd49..bce968a 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;
}
More information about the wine-cvs
mailing list