bin: no point in cleaning up resources when it's exiting...
This commit is contained in:
@@ -104,8 +104,6 @@ check_pkg_integrity_all(struct xbps_handle *xhp)
|
||||
for (i = 0; i < maxthreads; i++)
|
||||
pthread_join(thd[i].thread, NULL);
|
||||
|
||||
free(thd);
|
||||
|
||||
if ((rv = xbps_pkgdb_update(xhp, true)) != 0) {
|
||||
xbps_error_printf("failed to write pkgdb: %s\n",
|
||||
strerror(rv));
|
||||
|
@@ -122,6 +122,5 @@ main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
xbps_end(&xh);
|
||||
exit(rv ? EXIT_FAILURE : EXIT_SUCCESS);
|
||||
}
|
||||
|
Reference in New Issue
Block a user