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/
if not get_option('vapi')
subdir_done()
endif
if not get_option('introspection')
error('Vala generation requires GObject Introspection.')
endif
add_languages('vala', native : false)
talkatu_vapi = gnome.generate_vapi('talkatu',
sources : talkatu_gir[0],
packages : [ 'gtk4' ],
install : true,
gir_dirs : meson.current_build_dir() / '..' / 'talkatu',
)