Avnish Chouhan 02cae1a357 disk/ieee1275/ofdisk: Fix memory leaks
In case of an overflow "p" and "p->grub_devpath" will not be freed.
Fix both issues.

Signed-off-by: Avnish Chouhan <avnish@linux.ibm.com>
Reviewed-by: Alec Brown <alec.r.brown@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
2025-12-21 16:41:46 +01:00
..
2019-03-25 15:14:52 +01:00
2023-06-01 11:45:00 +02:00
2025-05-06 17:14:04 +02:00
2025-04-04 19:27:25 +02:00
2025-10-21 13:59:12 +02:00
2012-03-26 16:10:40 +02:00
2022-03-14 15:44:45 +01:00
2022-03-14 15:44:45 +01:00