From dbf44667d508c2cf9a7738469d7d6a773fa755f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delanoy?= Date: Thu, 20 Aug 2009 01:33:10 +0200 Subject: wrc: Fix memory leak --- tools/wrc/wrc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/wrc/wrc.c b/tools/wrc/wrc.c index 5879d92..5740d22 100644 --- a/tools/wrc/wrc.c +++ b/tools/wrc/wrc.c @@ -536,6 +536,7 @@ int main(int argc,char *argv[]) chat("Writing .res-file\n"); write_resfile(output_name, resource_top); + free(output_name); output_name = NULL; return 0; -- 1.6.4