summaryrefslogtreecommitdiff
path: root/plugins/elf
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-09-18 07:08:35 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-09-18 07:08:35 (GMT)
commit7abda358d11810e464f2bf51f8333836ddc17e90 (patch)
tree37a4b9dda883de13f729ed60eab11b1a4e3251ad /plugins/elf
parent264883a204ff89fcf53bb9c07bac1248096af0ef (diff)
Updated the API used to load binary contents.
Diffstat (limited to 'plugins/elf')
-rw-r--r--plugins/elf/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/elf/core.c b/plugins/elf/core.c
index 1fefa69..6b7810e 100644
--- a/plugins/elf/core.c
+++ b/plugins/elf/core.c
@@ -95,6 +95,8 @@ G_MODULE_EXPORT void chrysalide_plugin_handle_binary_content(const GPluginModule
g_content_resolver_add_detected(resolver, wid, loaded);
g_object_unref(G_OBJECT(resolver));
+ g_object_unref(G_OBJECT(loaded));
+
}
}