summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@intec.ugent.be>2016-03-17 10:42:35 +0100
committerDimitri Staessens <dimitri.staessens@intec.ugent.be>2016-03-17 10:42:35 +0100
commit80679807f5ed13fd0a214bc6cd4e1c182d87bfae (patch)
tree1b13d3833029a2bdab59ad287fa44eb762f82994 /include
parent788414c1a728440e25b8a7428af294189e3b70ca (diff)
parent7747528435d77ad055a5c3124a89717e42807b9a (diff)
downloadouroboros-80679807f5ed13fd0a214bc6cd4e1c182d87bfae.tar.gz
ouroboros-80679807f5ed13fd0a214bc6cd4e1c182d87bfae.zip
Merged in sandervrijders/ouroboros/be (pull request #34)
lib, irmd: Fix memleaks
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/sockets.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ouroboros/sockets.h b/include/ouroboros/sockets.h
index b34537a7..871e3c36 100644
--- a/include/ouroboros/sockets.h
+++ b/include/ouroboros/sockets.h
@@ -51,7 +51,9 @@ struct irm_msg {
int client_socket_open(char * file_name);
int server_socket_open(char * file_name);
+/* Caller has to free the buffer */
buffer_t * serialize_irm_msg(struct irm_msg * msg);
+/* Caller has to free all the allocated fields in the message */
struct irm_msg * deserialize_irm_msg(buffer_t * data);
#endif