[PATCH] winegcc: free two new strlists (Coverity)

Marcus Meissner marcus at jet.franken.de
Fri Jun 5 06:31:36 CDT 2009


Hi,

were added lately, also free them now to avoid
them on coveritys list.

Ciao, Marcus
---
 tools/winegcc/winegcc.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index b0853c1..33855a6 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -751,6 +751,8 @@ static void build(struct options* opts)
         spawn(opts->prefix, link_args, 0);
         strarray_free (resources);
         strarray_free (link_args);
+        strarray_free (lib_dirs);
+        strarray_free (files);
         return;
     }
 
-- 
1.5.6



More information about the wine-patches mailing list