diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index e9c11edfdfe..e9cd671d7f1 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; }