xbps-fbulk: fix a memleak found by clang-analyzer.

This commit is contained in:
Juan RP 2015-12-21 17:07:43 +01:00
parent bb977c73e4
commit 68d84d89c1

View File

@ -697,6 +697,7 @@ main(int argc, char **argv)
* Wait for all current builds to finish running, keep the pipeline
* full until both the BuildList and RunList have been exhausted.
*/
free(rpath);
runBuilds(bpath);
while (waitRunning(0) != NULL)
runBuilds(bpath);