diff options
Diffstat (limited to 'perl-install/resize_fat')
-rw-r--r-- | perl-install/resize_fat/main.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/resize_fat/main.pm b/perl-install/resize_fat/main.pm index c3eee9381..256031228 100644 --- a/perl-install/resize_fat/main.pm +++ b/perl-install/resize_fat/main.pm @@ -55,7 +55,11 @@ sub new($$$) { bless $fs, $type; } -sub DESTROY { resize_fat::c_rewritten::free_all() } +sub DESTROY { + my ($fs) = @_; + close $fs->{fd}; + resize_fat::c_rewritten::free_all(); +} #- copy all clusters >= <start_cluster> to a new place on the partition, less #- than <start_cluster>. Only copies files, not directories. |