bin: no point in cleaning up resources when it's exiting...
This commit is contained in:
@ -138,7 +138,6 @@ list_orphans(struct xbps_handle *xhp)
|
||||
prop_dictionary_get_cstring_nocopy(obj, "pkgver", &pkgver);
|
||||
printf("%s\n", pkgver);
|
||||
}
|
||||
prop_object_iterator_release(iter);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -260,6 +260,5 @@ main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
xbps_end(&xh);
|
||||
exit(rv);
|
||||
}
|
||||
|
@ -64,7 +64,6 @@ show_pkg_revdeps(struct xbps_handle *xhp, const char *pkg)
|
||||
prop_array_get_cstring_nocopy(reqby, i, &pkgdep);
|
||||
printf("%s\n", pkgdep);
|
||||
}
|
||||
prop_object_release(reqby);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -171,7 +171,6 @@ show_pkg_info(prop_dictionary_t dict)
|
||||
|
||||
print_value_obj(keyname, obj, NULL, false);
|
||||
}
|
||||
prop_object_release(all_keys);
|
||||
}
|
||||
|
||||
int
|
||||
@ -210,7 +209,6 @@ show_pkg_files(prop_dictionary_t filesd)
|
||||
printf("\n");
|
||||
}
|
||||
}
|
||||
prop_object_release(allkeys);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@ -286,7 +284,6 @@ int
|
||||
repo_show_pkg_files(struct xbps_handle *xhp, const char *pkg)
|
||||
{
|
||||
prop_dictionary_t pkgd;
|
||||
int rv;
|
||||
|
||||
pkgd = xbps_rpool_get_pkg_plist(xhp, pkg, "./files.plist");
|
||||
if (pkgd == NULL) {
|
||||
@ -297,8 +294,5 @@ repo_show_pkg_files(struct xbps_handle *xhp, const char *pkg)
|
||||
}
|
||||
}
|
||||
|
||||
rv = show_pkg_files(pkgd);
|
||||
prop_object_release(pkgd);
|
||||
return rv;
|
||||
|
||||
return show_pkg_files(pkgd);
|
||||
}
|
||||
|
Reference in New Issue
Block a user