mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 22:10:13 +00:00
elf/dl-load.c: Avoid warning
This commit is contained in:
parent
5a06e64333
commit
fde56e5cc5
@ -1,3 +1,7 @@
|
||||
2011-09-12 Marek Polacek <mpolacek@redhat.com>
|
||||
|
||||
* elf/dl-load.c (lose): Add cast to avoid warning.
|
||||
|
||||
2011-10-07 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* po/ca.po: Update from translation team.
|
||||
|
@ -889,7 +889,7 @@ lose (int code, int fd, const char *name, char *realname, struct link_map *l,
|
||||
if (fd != -1)
|
||||
(void) __close (fd);
|
||||
if (l != NULL && l->l_origin != (char *) -1l)
|
||||
free (l->l_origin);
|
||||
free ((char *) l->l_origin);
|
||||
free (l);
|
||||
free (realname);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user