diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-09-21 11:22:49 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-09-21 11:24:41 +0200 |
commit | 1e3d0e5e869d6a920987d20cc6ed7a67f5c426bd (patch) | |
tree | 2f1eeb781679c34ec9289dabb5710fbbc00771e5 /src/ipcpd/normal | |
parent | b66cf853efee91fcc43e2bbfcb1e39071b775d49 (diff) | |
download | ouroboros-1e3d0e5e869d6a920987d20cc6ed7a67f5c426bd.tar.gz ouroboros-1e3d0e5e869d6a920987d20cc6ed7a67f5c426bd.zip |
lib: Pass the fuse struct to the handling thread
This avoids potential data races on rib.fuse.
Diffstat (limited to 'src/ipcpd/normal')
-rw-r--r-- | src/ipcpd/normal/dht.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/normal/dht.c b/src/ipcpd/normal/dht.c index 996b122a..af1686a9 100644 --- a/src/ipcpd/normal/dht.c +++ b/src/ipcpd/normal/dht.c @@ -2240,7 +2240,7 @@ static void * dht_handle_sdu(void * o) ipcp_sdb_release(sdb); - free((struct sdu_info *) o); + free(o); if (msg == NULL) { log_err("Failed to unpack message."); |