From 1e3d0e5e869d6a920987d20cc6ed7a67f5c426bd Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Thu, 21 Sep 2017 11:22:49 +0200 Subject: lib: Pass the fuse struct to the handling thread This avoids potential data races on rib.fuse. --- src/ipcpd/normal/dht.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ipcpd') 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."); -- cgit v1.2.3