xbps-repo: call xbps_end() in usage() before exit(3).

This commit is contained in:
Juan RP 2011-02-04 16:24:22 +01:00
parent ec7549fa04
commit 40cf7bad32

View File

@ -40,6 +40,7 @@
static void __attribute__((noreturn))
usage(void)
{
xbps_end();
fprintf(stderr,
"Usage: xbps-repo [options] [action] [arguments]\n"
"See xbps-repo(8) for more information.\n");