pkg: plug memory leak in conflicts code

feature/tap-sh
William Pitcock 2012-05-11 21:20:00 -05:00
parent db9f626790
commit 52dee220ee
1 changed files with 2 additions and 0 deletions

2
pkg.c
View File

@ -635,6 +635,8 @@ pkg_walk_conflicts_list(pkg_t *root, pkg_dependency_t *deplist, unsigned int fla
fprintf(stderr, "It may be possible to ignore this conflict and continue, try the\n");
fprintf(stderr, "PKG_CONFIG_IGNORE_CONFLICTS environment variable.\n");
pkg_free(pkgdep);
return PKG_ERRF_PACKAGE_CONFLICT;
}