X-Git-Url: https://code.delx.au/refind/blobdiff_plain/f7c3e42e1c5c6149e1a2513e916ef349702fb778..a0a4ba44f4dc01c86499c0fc80730940b53f75c6:/refind/icns.c diff --git a/refind/icns.c b/refind/icns.c index f9be58b..df469ef 100644 --- a/refind/icns.c +++ b/refind/icns.c @@ -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