]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2010-02-06 Vladimir Serbinenko <phcoder@gmail.com>
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 6 Feb 2010 19:49:57 +0000 (20:49 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 6 Feb 2010 19:49:57 +0000 (20:49 +0100)
* fs/fat.c (grub_fat_iterate_dir): Free unibuf at exit.

ChangeLog
fs/fat.c

index 6da2240940e27c6439d8bac83491c814d1c528f6..b9dfd7e7340c3d9bff7e2baff99cf50e8749c2de 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-06  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * fs/fat.c (grub_fat_iterate_dir): Free unibuf at exit.
+
 2010-02-06  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * loader/i386/pc/xnu.c (grub_xnu_set_video): Add const qualifier to
index d008dc10d2afb4bed8b1e76dc0819728c91a8273..89050943ccaf7bab6383a6c4de8803e71f603ad9 100644 (file)
--- a/fs/fat.c
+++ b/fs/fat.c
@@ -592,6 +592,7 @@ grub_fat_iterate_dir (grub_disk_t disk, struct grub_fat_data *data,
     }
 
   grub_free (filename);
+  grub_free (unibuf);
 
   return grub_errno;
 }