diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2018-01-22 13:14:50 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-01-22 13:14:50 +0100 |
commit | 95822cf8ac73e3f6526b4b10623f66d5d82d37c7 (patch) | |
tree | 02dd1e463a3da6fb2dc0cabc86298a3b47067852 /src | |
parent | a3ddae9d41de81a14c99f167677be88ecb70e9bd (diff) | |
parent | 2deb654dc58eb2c25d15b2292366e321e475fb69 (diff) | |
download | ouroboros-95822cf8ac73e3f6526b4b10623f66d5d82d37c7.tar.gz ouroboros-95822cf8ac73e3f6526b4b10623f66d5d82d37c7.zip |
Merge branch 'testing' into be
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c index 4df88b9b..99ab4359 100644 --- a/src/lib/dev.c +++ b/src/lib/dev.c @@ -1415,7 +1415,7 @@ int local_flow_write(int fd, pthread_rwlock_rdlock(&ai.lock); if (ai.flows[fd].port_id < 0) { - pthread_rwlock_rdlock(&ai.lock); + pthread_rwlock_unlock(&ai.lock); return -ENOTALLOC; } |