* ttx-provider-type-2: fix crash in error path