Performance improvements while installing deps of a binpkg.

--HG--
extra : convert_revision : 2ad3b29cfd22489f76739287176f40dd9535dfee
This commit is contained in:
Juan RP
2009-04-04 05:24:58 +02:00
parent 57de10314a
commit 44926cd53c
8 changed files with 123 additions and 188 deletions

View File

@@ -103,7 +103,7 @@ again:
if (find_sorteddep_by_name(pkgname) != NULL)
continue;
sdep = calloc(1, sizeof(*sdep));
sdep = malloc(sizeof(*sdep));
if (sdep == NULL) {
rv = ENOMEM;
goto out;