diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-02-05 22:03:38 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-02-05 22:03:38 (GMT) |
commit | 17f591f2230ac66394467d5e5eefe71cb259637d (patch) | |
tree | 1664e994b2904e5e9009027fc57749a11667365b /plugins/elf/loading.c | |
parent | ff187d24b7441e88e1f0361d59b0f6f55851791f (diff) |
Fixed a huge number of memory leaks.
Diffstat (limited to 'plugins/elf/loading.c')
-rw-r--r-- | plugins/elf/loading.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/elf/loading.c b/plugins/elf/loading.c index eb992b9..73e75f0 100644 --- a/plugins/elf/loading.c +++ b/plugins/elf/loading.c @@ -496,6 +496,8 @@ static void g_elf_loading_process(GElfLoading *loading, GtkStatusStack *status) { ret = loading->callback_1(loading, format, symbol); + g_object_unref(G_OBJECT(symbol)); + if (!ret) { log_variadic_message(LMT_ERROR, _("Error while applying ELF relocation %zu!"), processed); |