X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=lib%2FFile%2FKDBX%2FLoader%2FV3.pm;h=77ad479635abea9c3ea2ea56764f6161619bfb56;hb=cfe6ddf632ec8f9ce9569fbf4c7e759160ba3419;hp=f7f951649169e92d99a9a3d6103ac3bbe89a6112;hpb=50f1a929d9224b9072b5fae39162a5d943323c5d;p=chaz%2Fp5-File-KDBX diff --git a/lib/File/KDBX/Loader/V3.pm b/lib/File/KDBX/Loader/V3.pm index f7f9516..77ad479 100644 --- a/lib/File/KDBX/Loader/V3.pm +++ b/lib/File/KDBX/Loader/V3.pm @@ -152,6 +152,7 @@ sub _read_body { } $self->_read_inner_body($fh); + close($fh); if (my $header_hash = $kdbx->meta->{header_hash}) { my $got_header_hash = digest_data('SHA256', $header_data);