its ok to free a empty object