talkatu/talkatu

Fix a couple error leaks

13 months ago, Elliott Sales de Andrade
712651f4acde
Fix a couple error leaks

If the caller didn't provide an output address, the local error would be leaked.

Testing Done:
Compiled only.

Reviewed at https://reviews.imfreedom.org/r/2382/
# Building
Talkatu uses [meson](https://mesonbuild.com) as it's build system.
Meson requires you to build in a directory other than the source directory.
To compile you can use the following commands:
```
meson build
cd build
```
To test Talkatu without installing, you can run the following command from the
build directory.
```
meson devenv talkatu-demo
```
To install you can use `ninja install` from the build directory.