aboutsummaryrefslogtreecommitdiff
path: root/binutils/windres.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/windres.c')
-rw-r--r--binutils/windres.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/windres.c b/binutils/windres.c
index 7fa90fc..14cf11e 100644
--- a/binutils/windres.c
+++ b/binutils/windres.c
@@ -204,6 +204,7 @@ open_file_search (const char *filename, const char *mode, const char *errmsg,
*real_filename = n;
return e;
}
+ free (n);
if (errno != ENOENT)
break;