Changes by: flatcap
Update of /cvsroot/linux-ntfs/ntfsprogs/libntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27938
Modified Files:
volume.c
Log Message:
fix a memory leak - vol->vol_ni
Index: volume.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/libntfs/volume.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -p -r1.52 -r1.53
--- volume.c 24 Sep 2005 22:54:55 -0000 1.52
+++ volume.c 27 Sep 2005 17:11:30 -0000 1.53
@@ -101,6 +101,8 @@ static void __ntfs_volume_release(ntfs_v
ntfs_attr_close(v->mftmirr_na);
if (v->mftmirr_ni)
ntfs_inode_close(v->mftmirr_ni);
+ if (v->vol_ni)
+ ntfs_inode_close(v->vol_ni);
if (v->dev) {
struct ntfs_device *dev = v->dev;
|