Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Plug a memory leak
Baptiste Daroussin committed 11 years ago
commit b905b4617b446a1a8652f64cec01abea97eb04c4
parent edb5d9f
1 file changed +1 -0
modified libpkg/pkg_repo_create.c
@@ -999,6 +999,7 @@ pkg_finish_repo(const char *output_dir, pem_password_cb *password_cb,
	if (access(repo_path, R_OK) != -1) {
		if (pkg_repo_meta_load(repo_path, &meta) != EPKG_OK) {
			pkg_emit_error("meta loading error while trying %s", repo_path);
+
			rsa_free(rsa);
			return (EPKG_FATAL);
		}
		else {