I think you need to decref type, value and traceback in this branch.