diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2017-11-30 13:51:04 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-11-30 14:18:39 +0100 |
commit | 6fd7a33b2a6f2b3a5696533676d2de4db2a87c47 (patch) | |
tree | acd7fd01b49b1e934c1a658ab3d3cc53dc2266ce /src/ipcpd/normal/pol/flat.h | |
parent | a3fa3d4fec3994597b9c745709b4b85887913308 (diff) | |
download | ouroboros-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/ipcpd/normal/pol/flat.h')
0 files changed, 0 insertions, 0 deletions