summaryrefslogtreecommitdiff
path: root/src/lib/tests/timerwheel_test.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2017-11-30 13:51:04 +0100
committerSander Vrijders <sander.vrijders@ugent.be>2017-11-30 14:18:39 +0100
commit6fd7a33b2a6f2b3a5696533676d2de4db2a87c47 (patch)
treeacd7fd01b49b1e934c1a658ab3d3cc53dc2266ce /src/lib/tests/timerwheel_test.c
parenta3fa3d4fec3994597b9c745709b4b85887913308 (diff)
downloadouroboros-6fd7a33b2a6f2b3a5696533676d2de4db2a87c47.tar.gz
ouroboros-6fd7a33b2a6f2b3a5696533676d2de4db2a87c47.zip
ipcpd: Don't read commands under lock
The commands were read under a mutex. Since the cmd struct was just malloc'd, this is not needed. Also fixes closing the socket if the malloc fails. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/lib/tests/timerwheel_test.c')
0 files changed, 0 insertions, 0 deletions