diff options
author | Sander Vrijders <[email protected]> | 2016-03-17 14:37:49 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2016-03-17 14:37:49 +0100 |
commit | 722b769e4d519f2428ee893a78cafa999151bb1c (patch) | |
tree | ed681973bedcb9039de26c0d83baa9d5d5f3a22e /src/lib/irm.c | |
parent | 7747528435d77ad055a5c3124a89717e42807b9a (diff) | |
download | ouroboros-722b769e4d519f2428ee893a78cafa999151bb1c.tar.gz ouroboros-722b769e4d519f2428ee893a78cafa999151bb1c.zip |
lib: Add communication with IPCP daemon
This adds the messages required for the IRMd to communicate with an
IPC Process through the library.
Diffstat (limited to 'src/lib/irm.c')
-rw-r--r-- | src/lib/irm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/irm.c b/src/lib/irm.c index a1847eed..e4804074 100644 --- a/src/lib/irm.c +++ b/src/lib/irm.c @@ -44,6 +44,8 @@ static int send_irm_msg(struct irm_msg * msg) } if (write(sockfd, buf->data, buf->size) == -1) { + free(buf->data); + free(buf); close(sockfd); return -1; } |