diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/arch/dalvik/operands/pool.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +17-07-26 Cyrille Bagard <nocbos@gmail.com> + + * src/arch/dalvik/operands/pool.c: + Add a missing g_object_ref() before g_object_unref(). + 17-07-15 Cyrille Bagard <nocbos@gmail.com> * src/analysis/disass/routines.c: diff --git a/src/arch/dalvik/operands/pool.c b/src/arch/dalvik/operands/pool.c index 055f58e..d4d3a51 100644 --- a/src/arch/dalvik/operands/pool.c +++ b/src/arch/dalvik/operands/pool.c @@ -402,6 +402,8 @@ GArchOperand *g_dalvik_pool_operand_new(GDexFormat *format, DalvikPoolType type, result = g_object_new(G_TYPE_DALVIK_POOL_OPERAND, NULL); + g_object_ref(G_OBJECT(format)); + result->format = format; result->type = type; result->index = (size == MDS_8_BITS ? index8 : index16); |