]> code.delx.au - refind/commitdiff
Use MyFreePool in line_edit().
authorChristian Groessler <chris@groessler.org>
Mon, 24 Oct 2016 11:34:36 +0000 (13:34 +0200)
committerChristian Groessler <chris@groessler.org>
Mon, 24 Oct 2016 11:34:36 +0000 (13:34 +0200)
refind/line_edit.c

index 8bb9fb4cb11213187ecb157920d0a16694bb0e3b..fa4987bb11e59ebf47fb6ddc6c817dc33379d918 100644 (file)
@@ -211,7 +211,7 @@ BOOLEAN line_edit(CHAR16 *line_in, CHAR16 **line_out, UINTN x_max) {
    }
 
    refit_call2_wrapper(ST->ConOut->EnableCursor, ST->ConOut, FALSE);
-   FreePool(print);
-   FreePool(line);
+   MyFreePool(print);
+   MyFreePool(line);
    return enter;
 } /* BOOLEAN line_edit() */