diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/pglist.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/pglist.c b/src/plugins/pglist.c index bbd2d36..dd4e127 100644 --- a/src/plugins/pglist.c +++ b/src/plugins/pglist.c @@ -167,6 +167,11 @@ void exit_all_plugins(void) if (_pg_list[i] == NULL) continue; + pg_iface = g_plugin_module_get_interface(_pg_list[i]); + + if (pg_iface == NULL || !pg_iface->container) + continue; + g_object_unref(_pg_list[i]); } |