fix xfree regression from patch
builds, no warranty