lib/initend.c: CID 62697 (dereference before NULL check)

This commit is contained in:
Juan RP 2014-10-05 12:55:07 +02:00
parent 7310322cbf
commit 8ccb48e65b

View File

@ -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