Skip to content

Commit

Permalink
Fix a minor memleak in Buildsystem: parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
pmatilai committed Mar 11, 2024
1 parent 3ad9818 commit e56d1c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/parseSpec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,7 @@ static rpmRC parseBuildsystem(rpmSpec spec)
if (!rc)
unlink(path);
Fclose(fd);
free(path);
}

exit:
Expand Down

0 comments on commit e56d1c4

Please sign in to comment.