mirror of
https://github.com/mii443/qemu.git
synced 2025-12-08 05:28:31 +00:00
This avoids a NULL-deref upon strdup failure. Also update matching free to g_free. Signed-off-by: Jim Meyering <meyering@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>