Close in all cases

in leveled_imanifest
This commit is contained in:
Martin Sumner 2019-01-25 19:27:42 +00:00
parent a04ed53855
commit f907fb5c97
2 changed files with 3 additions and 2 deletions

View file

@ -57,6 +57,7 @@ generate_entry(Journal) ->
ok = leveled_cdb:cdb_close(PidR),
[{StartSQN, NewFN, PidR, LastKey}];
empty ->
ok = leveled_cdb:cdb_close(PidR),
leveled_log:log("IC013", [NewFN]),
[]
end.