[2/4] wpp: Clean state on error path.
Matteo Bruni
matteo.mystral at gmail.com
Mon Dec 28 15:02:24 CST 2009
-------------- next part --------------
From e529c272bd48467d63c4023d125a3e113d132030 Mon Sep 17 00:00:00 2001
From: Matteo Bruni <matteo.mystral at gmail.com>
Date: Sat, 26 Dec 2009 16:19:06 +0100
Subject: 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;
}
--
1.6.4.4
More information about the wine-patches
mailing list