From 40cf7bad329f7201f84c13cf3dd4c4a8702acc73 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 4 Feb 2011 16:24:22 +0100 Subject: [PATCH] xbps-repo: call xbps_end() in usage() before exit(3). --- bin/xbps-repo/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/xbps-repo/main.c b/bin/xbps-repo/main.c index 12b80630..3c9875ef 100644 --- a/bin/xbps-repo/main.c +++ b/bin/xbps-repo/main.c @@ -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");