Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix #295 -- clean up properly when no dependency packages can be found
Matthew Seaman committed 13 years ago
commit ff92265c1d4c3e11f1d03916eb621169c2f389c3
parent 903f786369cb2023b94629d6a2843c4011348a15
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);
	}