]> code.delx.au - refind/blobdiff - refind/icns.c
Version 0.4.6 release, with UEFI legacy boot support.
[refind] / refind / icns.c
index f9be58be75f0a75adaf67db0df3118c7629390fe..df469ef12d4e8e24c63ee216eff4ecb21b824a33 100644 (file)
@@ -102,10 +102,10 @@ EG_IMAGE * LoadOSIcon(IN CHAR16 *OSIconName OPTIONAL, IN CHAR16 *FallbackIconNam
         // try to load it
         Image = egLoadIcon(SelfDir, FileName, 128);
         if (Image != NULL) {
-            FreePool(CutoutName);
+            MyFreePool(CutoutName);
             return Image;
         }
-        FreePool(CutoutName);
+        MyFreePool(CutoutName);
     } // while
 
     // try the fallback name