(save_aux_cache): Free memory allocated for temporary file name.
authorUlrich Drepper <drepper@redhat.com>
Sat, 13 Oct 2007 05:21:59 +0000 (05:21 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 13 Oct 2007 05:21:59 +0000 (05:21 +0000)
elf/cache.c

index 9a600ea..b8561e4 100644 (file)
@@ -800,5 +800,6 @@ save_aux_cache (const char *aux_cache_name)
 
 out_fail:
   /* Free allocated memory.  */
+  free (temp_name);
   free (file_entries);
 }