Avoid leaking memory on incremental decode failure