diff --git a/build/parseSpec.c b/build/parseSpec.c index d099aeb2ca..be709b912e 100644 --- a/build/parseSpec.c +++ b/build/parseSpec.c @@ -1001,6 +1001,7 @@ static rpmRC parseBuildsystem(rpmSpec spec) if (!rc) unlink(path); Fclose(fd); + free(path); } exit: