Skip to content

Commit

Permalink
Merge pull request #21 from testwill:close_rpmdb
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 626997113
  • Loading branch information
copybara-github committed Apr 22, 2024
2 parents 5e4dc9b + d2edf37 commit 291aaee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extractor/os/rpm/extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ func (e Extractor) parseRPMDB(path string) ([]rpmPackageInfo, error) {
if err != nil {
return nil, err
}
defer db.Close()

var pkgs []*rpmdb.PackageInfo
if e.Timeout == 0 {
Expand Down

0 comments on commit 291aaee

Please sign in to comment.