diff --git a/bin/xbps-rindex/index-add.c b/bin/xbps-rindex/index-add.c index 0a65d5aa..169e4075 100644 --- a/bin/xbps-rindex/index-add.c +++ b/bin/xbps-rindex/index-add.c @@ -268,8 +268,5 @@ out: if (tmprepodir) { free(tmprepodir); } - if (repodir) { - free(repodir); - } return rv; }