diff options
Diffstat (limited to 'src/analysis/blocks')
-rw-r--r-- | src/analysis/blocks/flow.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/analysis/blocks/flow.c b/src/analysis/blocks/flow.c index 85edad6..9eb9de8 100644 --- a/src/analysis/blocks/flow.c +++ b/src/analysis/blocks/flow.c @@ -164,7 +164,7 @@ static void g_flow_block_init(GFlowBlock *block) static void g_flow_block_dispose(GFlowBlock *block) { - g_object_unref(G_OBJECT(block->proc)); + //g_object_unref(G_OBJECT(block->proc)); g_object_unref(G_OBJECT(block->first)); g_object_unref(G_OBJECT(block->last)); @@ -215,11 +215,13 @@ GInstrBlock *g_flow_block_new(GArchProcessor *proc, GArchInstruction *first, GAr result = g_object_new(G_TYPE_FLOW_BLOCK, NULL); + /* FIXME : proc non utilisé ! */ + result->proc = proc; result->first = first; result->last = last; - g_object_ref(G_OBJECT(result->proc)); + //g_object_ref(G_OBJECT(result->proc)); g_object_ref(G_OBJECT(result->first)); g_object_ref(G_OBJECT(result->last)); |