Marcus Meissner : winegcc: Free two new strlists (Coverity).

Alexandre Julliard julliard at winehq.org
Fri Jun 5 08:56:59 CDT 2009


Module: wine
Branch: master
Commit: 18738cf89d18c38d9494560f93ea35b14c7368d2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=18738cf89d18c38d9494560f93ea35b14c7368d2

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Fri Jun  5 13:31:36 2009 +0200

winegcc: Free two new strlists (Coverity).

---

 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 e9c11ed..e9cd671 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -768,6 +768,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;
     }
 




More information about the wine-cvs mailing list