diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/plugin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c index 2cfb3de..d9072d7 100644 --- a/src/plugins/plugin.c +++ b/src/plugins/plugin.c @@ -459,6 +459,9 @@ bool g_plugin_module_resolve_dependencies(GPluginModule *plugin, GPluginModule * else { + if (dependency->dependencies == NULL) + dependency->dependencies = create_bit_field(count, false); + set_in_bit_field(new, index, 1); or_bit_field(new, dependency->dependencies); |