diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-07-23 18:57:49 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-07-23 19:01:46 (GMT) |
commit | abefe01dd260cddbd253ba0c03d9c903138c71c1 (patch) | |
tree | 834f683e79893534324af94c537984542b7dc00a /src/plugins/pglist.h | |
parent | 50eb8c462e7ad2b4e5b82d27b1af6e86091ea272 (diff) |
Tracked the reference counter for plugins with more care.
Diffstat (limited to 'src/plugins/pglist.h')
-rw-r--r-- | src/plugins/pglist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/pglist.h b/src/plugins/pglist.h index c602839..b2635eb 100644 --- a/src/plugins/pglist.h +++ b/src/plugins/pglist.h @@ -77,7 +77,7 @@ GPluginModule **get_all_plugins_for_action(PluginAction, size_t *); for (__i = 0; __i < __count; __i++) \ { \ f(__list[__i], a, __VA_ARGS__); \ - g_object_ref(G_OBJECT(__list[__i])); \ + g_object_unref(G_OBJECT(__list[__i])); \ } \ if (__list != NULL) \ free(__list); \ |