diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-02-01 17:47:21 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-02-01 17:47:21 (GMT) |
commit | 9d4a0ba0e5a217bf4ac63c21e14d5f44580b6138 (patch) | |
tree | 42ab7c1b5ad8b3c43fb47e2ed979e849e7dcd1c3 /src/analysis | |
parent | eaf08fa5f4e2e99a8a3a4462fa0413057321a39c (diff) |
Fixed a memory leak.
Diffstat (limited to 'src/analysis')
-rw-r--r-- | src/analysis/binary.c | 2 | ||||
-rw-r--r-- | src/analysis/disass/disassembler.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/binary.c b/src/analysis/binary.c index 7b075fd..0da3abf 100644 --- a/src/analysis/binary.c +++ b/src/analysis/binary.c @@ -1771,6 +1771,8 @@ static bool g_loaded_binary_analyze(GLoadedBinary *binary, wgroup_id_t gid, GtkS } + g_object_unref(G_OBJECT(context)); + glba_exit: return result; diff --git a/src/analysis/disass/disassembler.c b/src/analysis/disass/disassembler.c index e548fcd..43e4092 100644 --- a/src/analysis/disass/disassembler.c +++ b/src/analysis/disass/disassembler.c @@ -460,6 +460,4 @@ void output_disassembly(GLoadedBinary *binary, GProcContext *context, GtkStatusS g_object_unref(G_OBJECT(content)); g_object_unref(G_OBJECT(format)); - g_object_unref(G_OBJECT(context)); - } |