qulogic/gplugin

Fix various leaks in Python loader (hopefully).
develop/asan
2019-02-01, Elliott Sales de Andrade
3418e24e0842
Fix various leaks in Python loader (hopefully).

These were mostly done by hand, based on the new/borrowed reference annotation
in the docs. Unfortunately, since we never deinitialize the interpreter, asan
still says most of these things leak.
shared_library('gplugin-license-check',
'gplugin-license-check.c',
name_prefix : '',
dependencies : [gplugin_dep],
install : true,
install_dir : join_paths(get_option('libdir'), 'gplugin'))