hotplug2: fix "MALLOC FAILURE!" message caused by a missing return code check on...