summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/frct.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2017-03-25 11:28:12 +0000
committerdimitri staessens <[email protected]>2017-03-25 11:28:12 +0000
commit0a75074b15f66a60496d196c0759d33afa3c8b18 (patch)
treead1dec3d3cc797918188763381a3b91e206479b0 /src/ipcpd/normal/frct.c
parent1d9061666656ba1cc5a5c72fcc564a3a45b2dd8a (diff)
parent0bbd4b30d618acd50bf2d6d09facf3e5f814e4ff (diff)
downloadouroboros-0a75074b15f66a60496d196c0759d33afa3c8b18.tar.gz
ouroboros-0a75074b15f66a60496d196c0759d33afa3c8b18.zip
Merged in sandervrijders/ouroboros/be-double-free (pull request #424)
ipcpd: normal: Avoid double free
Diffstat (limited to 'src/ipcpd/normal/frct.c')
-rw-r--r--src/ipcpd/normal/frct.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipcpd/normal/frct.c b/src/ipcpd/normal/frct.c
index 62cbf9f7..8bf080ce 100644
--- a/src/ipcpd/normal/frct.c
+++ b/src/ipcpd/normal/frct.c
@@ -280,6 +280,7 @@ cep_id_t frct_i_create(uint64_t address,
pthread_mutex_unlock(&frct.instances_lock);
return INVALID_CEP_ID;
}
+
id = instance->cep_id;
instance->cube = cube;
pthread_mutex_unlock(&frct.instances_lock);