diff options
author | dimitri staessens <[email protected]> | 2017-04-06 09:30:01 +0000 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-04-06 09:30:01 +0000 |
commit | 34ef0da6c1b3a3419dbdf2041ed1e3ba107dc915 (patch) | |
tree | d8e793cffbe829d64855eaa5a429b90ebe3dc3a4 /src/lib/irm.c | |
parent | c6ad4f96f8bb2f1ee749e92308e7173523ddd0b8 (diff) | |
parent | e1c0714d5827cd927961f3a687d9720e6e9aa802 (diff) | |
download | ouroboros-34ef0da6c1b3a3419dbdf2041ed1e3ba107dc915.tar.gz ouroboros-34ef0da6c1b3a3419dbdf2041ed1e3ba107dc915.zip |
Merged in dstaesse/ouroboros/be-tim (pull request #464)
lib, irmd: Implement flow allocation timeout
Diffstat (limited to 'src/lib/irm.c')
-rw-r--r-- | src/lib/irm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/irm.c b/src/lib/irm.c index 0e4bfc40..57e09369 100644 --- a/src/lib/irm.c +++ b/src/lib/irm.c @@ -177,10 +177,8 @@ ssize_t irm_list_ipcps(const char * name, msg.dst_name = (char *) name; recv_msg = send_recv_irm_msg(&msg); - if (recv_msg == NULL) { - free(msg.dif_name); + if (recv_msg == NULL) return -EIRMD; - } if (recv_msg->apis == NULL) { irm_msg__free_unpacked(recv_msg, NULL); |