]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-08-21 Felix Zielcke <fzielcke@z-51.de>
authorfzielcke <fzielcke@localhost>
Thu, 21 Aug 2008 13:30:32 +0000 (13:30 +0000)
committerfzielcke <fzielcke@localhost>
Thu, 21 Aug 2008 13:30:32 +0000 (13:30 +0000)
        * fs/ntfs.c (grub_ntfs_mount): Fix a memory leak.

ChangeLog
fs/ntfs.c

index 19603ad9e22ce389671cea68e943deeb12130552..d7f91bb4dd03ff94f53c32c6db3eef9cb145d4dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-21  Felix Zielcke  <fzielcke@z-51.de>
+
+       * fs/ntfs.c (grub_ntfs_mount): Fix a memory leak.
+
 2008-08-21  Robert Millan  <rmh@aybabtu.com>
 
        * loader/i386/linux.c: New file.  Implements generic 32-bit Linux
index 3363eb02bca78ff30676c27899d57ef8a324cdc0..3174ab18174dbd562825a06657b5cb3bc6fe79ec 100644 (file)
--- a/fs/ntfs.c
+++ b/fs/ntfs.c
@@ -850,6 +850,7 @@ fail:
     {
       free_file (&data->mmft);
       free_file (&data->cmft);
+      grub_free (data);
     }
   return 0;
 }