summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-02-13 11:01:02 +0000
committerEric Andersen <andersen@codepoet.org>2004-02-13 11:01:02 +0000
commitbc237c25845678360e3ce3bd47d880ad85138da6 (patch)
tree8e4ca0bbc224a1f3d3d995ae5565ec991c92533a
parentf0bc0bdd2c7ce28df00f4d74fa28a7835b61eb27 (diff)
Another little touch up to avoid problems...
-rw-r--r--utils/ldd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/ldd.c b/utils/ldd.c
index e6a331dad..5accdc767 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -461,6 +461,8 @@ static struct library * find_elf_interpreter(Elf32_Ehdr* ehdr)
newlib = cur;
free(newlib->name);
free(newlib->path);
+ newlib->name = NULL;
+ newlib->path = NULL;
return NULL;
}
}