grub/grub-core/kern/emu
Peter Jones b73cee7f1f emu: Make grub_free(NULL) safe
The grub_free() implementation in grub-core/kern/mm.c safely handles
NULL pointers, and code at many places depends on this. We don't know
that the same is true on all host OSes, so we need to handle the same
behavior in grub-emu's implementation.

Signed-off-by: Peter Jones <pjones@redhat.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2020-07-29 16:55:48 +02:00
..
argp_common.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
cache.c RISC-V: Add to build system 2019-02-25 14:02:05 +01:00
cache_s.S RISC-V: Add to build system 2019-02-25 14:02:05 +01:00
full.c Implement sparc64 trampolines (needed for sparc64-emu). 2013-12-10 00:01:27 +01:00
hostdisk.c calloc: Use calloc() at most places 2020-07-29 16:55:47 +02:00
hostfs.c hostfs: #undef open and close. 2019-06-07 15:36:28 +02:00
lite.c RISC-V: Add to build system 2019-02-25 14:02:05 +01:00
main.c Ensure that grub_reboot doesn't return on emu. 2017-01-27 20:10:23 +00:00
misc.c calloc: Make sure we always have an overflow-checking calloc() available 2020-07-29 16:55:47 +02:00
mm.c emu: Make grub_free(NULL) safe 2020-07-29 16:55:48 +02:00
time.c automake commit without merge history 2010-05-06 11:34:04 +05:30