[1824] 2008-08-21 Felix Zielcke <[email protected]>

Felix Zielcke <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 1824
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1824
Author:   fzielcke
Date:     2008-08-21 13:30:32 +0000 (Thu, 21 Aug 2008)

Log Message:
-----------
2008-08-21  Felix Zielcke  <[email protected]>

        * fs/ntfs.c (grub_ntfs_mount): Fix a memory leak.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/fs/ntfs.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2008-08-21 13:18:07 UTC (rev 1823)
+++ trunk/grub2/ChangeLog	2008-08-21 13:30:32 UTC (rev 1824)
@@ -1,3 +1,7 @@
+2008-08-21  Felix Zielcke  <[email protected]>
+
+	* fs/ntfs.c (grub_ntfs_mount): Fix a memory leak.
+
 2008-08-21  Robert Millan  <[email protected]>
 
 	* loader/i386/linux.c: New file.  Implements generic 32-bit Linux

Modified: trunk/grub2/fs/ntfs.c
===================================================================
--- trunk/grub2/fs/ntfs.c	2008-08-21 13:18:07 UTC (rev 1823)
+++ trunk/grub2/fs/ntfs.c	2008-08-21 13:30:32 UTC (rev 1824)
@@ -850,6 +850,7 @@
     {
       free_file (&data->mmft);
       free_file (&data->cmft);
+      grub_free (data);
     }
   return 0;
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.