commit 81cef98050696b18c97d297b8471817505dd7b36 parent 83b823d88eff2d07297b655dd003bf9e2e213067 Author: sin <sin@2f30.org> Date: Tue, 5 Mar 2013 18:03:44 +0000 memzap: Free `symbol' correctly Diffstat:
M | memzap.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/memzap.c b/memzap.c @@ -146,10 +146,10 @@ main(int argc, char *argv[]) } if (!addr || !len) errx(1, "symbol %s could not be located", symbol); - free(symbol); } } + free(symbol); elf_end(e); close(fd); }