mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
5894e3f700
Add a small helper function to free the common ipl data to avoid having the same code duplicated multiple times. Also remove the if() check before the free as it is allowed to pass NULL pointers to free(). Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>