]> code.delx.au - refind/blobdiff - refind/icns.c
Version supports Secure Boot/MOK verification of binaries.
[refind] / refind / icns.c
index f9be58be75f0a75adaf67db0df3118c7629390fe..a9b3f01c689709be5afc9bf6207a3570eafadab0 100644 (file)
@@ -58,6 +58,8 @@ BUILTIN_ICON BuiltinIconTable[BUILTIN_ICON_COUNT] = {
    { NULL, L"tool_shell.icns", 48 },
    { NULL, L"tool_part.icns", 48 },
    { NULL, L"tool_rescue.icns", 48 },
+   { NULL, L"tool_apple_rescue.icns", 48 },
+   { NULL, L"tool_mok_tool.icns", 48 },
    { NULL, L"vol_internal.icns", 32 },
    { NULL, L"vol_external.icns", 32 },
    { NULL, L"vol_optical.icns", 32 },
@@ -102,10 +104,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