diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-11-26 20:39:28 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-11-26 20:39:28 (GMT) |
commit | 1252efcd18a845a7c2641354838c26ece3d6d873 (patch) | |
tree | 13d248454e99b76dd4c61fbd41c8c138ebb61eb7 /plugins/stackvars | |
parent | 84efc00d07f9574c3867f96a3a7333b0f9d154e6 (diff) |
Increased the reference counter for provided operands and updated code.
Diffstat (limited to 'plugins/stackvars')
-rw-r--r-- | plugins/stackvars/stackvars.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/stackvars/stackvars.c b/plugins/stackvars/stackvars.c index ce9d539..1b5a188 100644 --- a/plugins/stackvars/stackvars.c +++ b/plugins/stackvars/stackvars.c @@ -223,6 +223,8 @@ static bool replace_stack_vars_in_instruction(GArchInstruction *instr, GBinRouti } + g_object_unref(G_OBJECT(operand)); + } g_arch_instruction_unlock_operands(instr); |