Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix spelling end_elf -> elf_end.
Matthew Seaman committed 14 years ago
commit ce0c85cfe98539307834b456e38f27d0a2e5e019
parent f0ee79395a7c6f71e980808a5bde239718513913
1 file changed +2 -3
modified libpkg/pkg_elf.c
@@ -185,10 +185,9 @@ analyse_elf(const char *fpath, const char ***namelist)
		name++;
	}

-
	pkg_free(p);
-
	if (e != NULL)
+
cleanup:
+
	if ( e != NULL)
		elf_end(e);
-
	*name = NULL;
	close(fd);

	return (EPKG_OK);