Fixed #94. Incorrect assert, should just set to NULL. Make more explicit the free of the token extra data.