Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix #295 -- clean up properly when no dependency packages can be found
Matthew Seaman committed 13 years ago
commit ff92265c1d4c3e11f1d03916eb621169c2f389c3
parent 903f786
1 file changed +2 -0
modified pkg/check.c
@@ -160,6 +160,8 @@ fix_deps(struct pkgdb *db, struct deps_head *dh, int nbpkgs, bool yes)

	if (pkg_jobs_is_empty(jobs)) {
		printf("\n>>> Unable to find packages for installation.\n\n");
+
		pkg_jobs_free(jobs);
+
		pkgdb_it_free(it);
		return (EPKG_FATAL);
	}