diff options
author | Dimitri Staessens <[email protected]> | 2017-11-30 13:51:04 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-11-30 14:18:39 +0100 |
commit | 6fd7a33b2a6f2b3a5696533676d2de4db2a87c47 (patch) | |
tree | acd7fd01b49b1e934c1a658ab3d3cc53dc2266ce /src/tools/irm/irm_ipcp_connect.c | |
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 <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/tools/irm/irm_ipcp_connect.c')
0 files changed, 0 insertions, 0 deletions