[yocto] [prelink-cross][PATCH 1/1] rtld: remove if check before free
Maninder Singh
maninder1.s at samsung.com
Tue Jun 23 05:28:32 PDT 2015
No need of explicit NULL check before free
Signed-off-by: Maninder Singh <maninder1.s at samsung.com>
---
trunk/src/rtld/rtld.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/trunk/src/rtld/rtld.c b/trunk/src/rtld/rtld.c
index 35dfde7..3ed1db3 100644
--- a/trunk/src/rtld/rtld.c
+++ b/trunk/src/rtld/rtld.c
@@ -1270,7 +1270,6 @@ process_one_dso (DSO *dso, int host_paths)
(uint32_t) l->l_map_start);
}
- if (filename)
free (filename);
cur_dso_ent = cur_dso_ent->next;
--
1.7.1
More information about the yocto
mailing list