about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--elf/cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/cache.c b/elf/cache.c
index 9a600ea535..b8561e4b5f 100644
--- a/elf/cache.c
+++ b/elf/cache.c
@@ -800,5 +800,6 @@ save_aux_cache (const char *aux_cache_name)
 
 out_fail:
   /* Free allocated memory.  */
+  free (temp_name);
   free (file_entries);
 }