summary refs log tree commit diff
path: root/elf/cache.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-10-13 05:21:59 +0000
committerUlrich Drepper <drepper@redhat.com>2007-10-13 05:21:59 +0000
commit78d6dd72e50566aaa16c35c83b1f574eef868d1e (patch)
tree4233b6c7166807c5f54f600cc94e22fe3c7f06eb /elf/cache.c
parent29d49a1a66ce1f970f834ba70b2800cddc1d3e61 (diff)
downloadglibc-78d6dd72e50566aaa16c35c83b1f574eef868d1e.tar.gz
glibc-78d6dd72e50566aaa16c35c83b1f574eef868d1e.tar.xz
glibc-78d6dd72e50566aaa16c35c83b1f574eef868d1e.zip
(save_aux_cache): Free memory allocated for temporary file name.
Diffstat (limited to 'elf/cache.c')
-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);
 }