lib/transaction_revdeps.c: resource leak (CID 62723)
This commit is contained in:
parent
aae88aa253
commit
4ae3d03594
@ -58,6 +58,7 @@ check_virtual_pkgs(struct xbps_handle *xhp,
|
||||
xbps_array_get_cstring(provides, i, &vpkgver);
|
||||
if (strchr(vpkgver, '_') == NULL) {
|
||||
tmp = xbps_xasprintf("%s_1", vpkgver);
|
||||
free(vpkgver);
|
||||
vpkgver = strdup(tmp);
|
||||
}
|
||||
vpkgname = xbps_pkg_name(vpkgver);
|
||||
|
Loading…
Reference in New Issue
Block a user