bin/xbps-rindex/index-add.c: resource leak (CID 62685)
This commit is contained in:
		| @@ -94,6 +94,7 @@ index_add(struct xbps_handle *xhp, int argc, char **argv, bool force) | ||||
| 		if (!xbps_pkg_arch_match(xhp, arch, NULL)) { | ||||
| 			fprintf(stderr, "index: ignoring %s, unmatched arch (%s)\n", pkgver, arch); | ||||
| 			xbps_object_release(binpkgd); | ||||
| 			free(pkgver); | ||||
| 			continue; | ||||
| 		} | ||||
| 		pkgname = xbps_pkg_name(pkgver); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user