diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-02-07 19:23:14 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-02-07 19:23:14 (GMT) |
commit | 3da6844c02f4041998ec655c19c7987e875adaf8 (patch) | |
tree | 752627c9e62043674df6700cf845ace3b4cf49ba /plugins | |
parent | 7b3ca7accd4103bb5069d31b2389ea76c57846ca (diff) |
Fixed extra GObjects leaks.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/elf/loading.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/elf/loading.c b/plugins/elf/loading.c index 73e75f0..782b5c7 100644 --- a/plugins/elf/loading.c +++ b/plugins/elf/loading.c @@ -214,7 +214,7 @@ static void g_elf_loading_init(GElfLoading *loading) static void g_elf_loading_dispose(GElfLoading *loading) { if (loading->kind == 2) - g_object_unref(G_OBJECT(loading->content)); + g_clear_object(&loading->content); G_OBJECT_CLASS(g_elf_loading_parent_class)->dispose(G_OBJECT(loading)); |