summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/analysis/binary.c2
-rw-r--r--src/analysis/disass/disassembler.c2
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));
-
}