libembroidery API cleanup. (free memory functions)