summaryrefslogtreecommitdiff
path: root/src/irmd/irm_flow.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-13 14:06:15 +0000
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-13 14:06:15 +0000
commit34f61c73f290b9f375bebb14bc48a4b15dfcc4cc (patch)
tree5192d254611ec919edf4596152ed5c041463acf2 /src/irmd/irm_flow.c
parent550e7892e47cf8daf351eb773ef3900b33ecabae (diff)
parent20921b8300d1699d8b0133b3f5fc360fdd99fc0d (diff)
downloadouroboros-34f61c73f290b9f375bebb14bc48a4b15dfcc4cc.tar.gz
ouroboros-34f61c73f290b9f375bebb14bc48a4b15dfcc4cc.zip
Merged in dstaesse/ouroboros/be-dealloc (pull request #263)
lib: Fix flow deallocation logic
Diffstat (limited to 'src/irmd/irm_flow.c')
-rw-r--r--src/irmd/irm_flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/irm_flow.c b/src/irmd/irm_flow.c
index b99c6f97..df1302b4 100644
--- a/src/irmd/irm_flow.c
+++ b/src/irmd/irm_flow.c
@@ -63,7 +63,7 @@ void irm_flow_destroy(struct irm_flow * f)
return;
}
- if (f->state == FLOW_PENDING)
+ if (f->state == FLOW_ALLOC_PENDING)
f->state = FLOW_DESTROY;
else
f->state = FLOW_NULL;