diff options
author | Dimitri Staessens <[email protected]> | 2016-03-17 10:42:35 +0100 |
---|---|---|
committer | Dimitri Staessens <[email protected]> | 2016-03-17 10:42:35 +0100 |
commit | 80679807f5ed13fd0a214bc6cd4e1c182d87bfae (patch) | |
tree | 1b13d3833029a2bdab59ad287fa44eb762f82994 /src/lib | |
parent | 788414c1a728440e25b8a7428af294189e3b70ca (diff) | |
parent | 7747528435d77ad055a5c3124a89717e42807b9a (diff) | |
download | ouroboros-80679807f5ed13fd0a214bc6cd4e1c182d87bfae.tar.gz ouroboros-80679807f5ed13fd0a214bc6cd4e1c182d87bfae.zip |
Merged in sandervrijders/ouroboros/be (pull request #34)
lib, irmd: Fix memleaks
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/sockets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/sockets.c b/src/lib/sockets.c index 90117c5c..59ac40f9 100644 --- a/src/lib/sockets.c +++ b/src/lib/sockets.c @@ -338,6 +338,7 @@ struct irm_msg * deserialize_irm_msg(buffer_t * data) case IRM_REG_IPCP: case IRM_UNREG_IPCP: deser_copy_size_t(data->data, &difs_size, &offset); + msg->difs_size = difs_size; msg->difs = malloc(sizeof(*(msg->difs)) * difs_size); if (msg->difs == NULL) { |