Changes by: szaka
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21157/ntfsprogs
Modified Files:
utils.c
Log Message:
Fix gigaleak in ntfscluster, utils.c::mft_next_record()
Index: utils.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/utils.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -p -r1.41 -r1.42
--- utils.c 16 Aug 2005 13:25:16 -0000 1.41
+++ utils.c 21 Aug 2005 09:46:29 -0000 1.42
@@ -955,8 +955,11 @@ int mft_next_record (struct mft_search_c
(unsigned long long)
ctx->mft_num, strerror (errno));
// free / close
+ ntfs_attr_close(mft);
return -1;
}
+
+ ntfs_attr_close(mft);
}
if (ctx->flags_match & ctx->flags_search) {
|