Sorry, I meant something like this:

At the end of the function:

```C
  return;

fail:
  return End();
}
```  

And `goto fail` in places like this.