diff --git a/lib/initend.c b/lib/initend.c index 1515af92..e849deef 100644 --- a/lib/initend.c +++ b/lib/initend.c @@ -128,8 +128,7 @@ store_preserved_file(struct xbps_handle *xhp, const char *file) } out: globfree(&globbuf); - if (rfile) - free(rfile); + free(rfile); } static bool