diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2017-11-30 16:01:32 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-11-30 16:24:34 +0100 |
commit | f43e5e2329fb798047d15dd0748e5eef3359c966 (patch) | |
tree | addd496074bfb6f8db204a84f320c1d30b1a747e /src/lib/tests/hashtable_test.c | |
parent | 6fd7a33b2a6f2b3a5696533676d2de4db2a87c47 (diff) | |
download | ouroboros-f43e5e2329fb798047d15dd0748e5eef3359c966.tar.gz ouroboros-f43e5e2329fb798047d15dd0748e5eef3359c966.zip |
irmd: 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/hashtable_test.c')
0 files changed, 0 insertions, 0 deletions