grub2/grub-core/kern/emu
Peter Jones c0a2098a2d emu: make grub_free(NULL) safe
The grub_free() implementation in 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>

Patch-Name: emu-free-null.patch
2020-07-24 22:44:09 +01:00
..
argp_common.c Build fixes for argp.h with older gcc. 2013-12-21 18:08:25 +01:00
cache_s.S RISC-V: Add to build system 2019-02-25 14:02:05 +01:00
cache.c 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-24 22:42:16 +01: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-24 22:42:11 +01:00
mm.c emu: make grub_free(NULL) safe 2020-07-24 22:44:09 +01:00
time.c automake commit without merge history 2010-05-06 11:34:04 +05:30