gplugin/gplugin

Fix a use-after-free when plugins fail to load.
feature/fix-valgrind
2019-01-27, Elliott Sales de Andrade
bac9853cb383
Fix a use-after-free when plugins fail to load.
###############################################################################
# Options
###############################################################################
option(
'gobject-introspection',
type : 'boolean', value : true,
description : 'Whether or not to build a GObject Introspection type library'
)
option(
'nls',
type : 'boolean', value : true,
description : 'Install translation files'
)
option(
'help2man',
type : 'boolean', value : true,
description : 'Whether or not to build man pages from --help output'
)
option(
'doc',
type : 'boolean', value : true,
description : 'build documentation with gtk-doc'
)
option(
'gtk3',
type : 'boolean', value : true,
description : 'Whether or not to build the gtk3 library'
)
option(
'lua',
type : 'boolean', value : true,
description : 'Whether or not to build the Lua plugin loader'
)
option(
'moonscript-tests',
type : 'boolean', value : false,
description : 'Whether or not to run the moonscript tests'
)
option(
'perl',
type : 'boolean', value : false,
description : 'Whether or not to build the Perl plugin loader'
)
option(
'python',
type : 'boolean', value : true,
description : 'Whether or not to build the Python 3.x plugin loader'
)
option(
'tcc',
type : 'boolean', value : false,
description : 'Whether or not to build the TCC plugin loader'
)