Alexey Makhalov 6d7a59a2a1 xnu: Fix double free in grub_xnu_devprop_add_property()
grub_xnu_devprop_add_property() should not free utf8 and utf16 as it get
allocated and freed in the caller.

Minor improvement: do prop fields initialization after memory allocations.

Fixes: CID 292442, CID 292457, CID 292460, CID 292466

Signed-off-by: Alexey Makhalov <amakhalov@vmware.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2020-07-29 16:55:48 +02:00
..
2020-07-29 16:55:47 +02:00
2019-02-25 11:28:44 +01:00
2020-07-29 16:55:47 +02:00
2019-03-20 11:38:28 +01:00
2019-03-20 11:38:28 +01:00
2019-02-25 11:33:06 +01:00
2020-07-29 16:55:47 +02:00
2013-05-07 11:44:15 +02:00
2020-07-29 16:55:47 +02:00