Fixed leak in unpair