commit | dbcc114ac17b11132d8202f0e6ad52fc602c1c61 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Dec 09 09:36:38 2015 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Dec 09 09:36:38 2015 +0100 |
tree | c34bb0937b85214ab0042f757c0d7965dcebd7ee | |
parent | a457dee61a1bcf8bd02c56b6ac567ebd370d64ff [diff] [blame] |
session & messages BUGFIX memory leaks
diff --git a/src/session.c b/src/session.c index 5bc50b9..61d11ac 100644 --- a/src/session.c +++ b/src/session.c
@@ -1273,6 +1273,7 @@ if (msgtype == NC_MSG_REPLY) { *reply = parse_reply(session->ctx, xml, rpc); + lyxml_free(session->ctx, xml); if (!(*reply)) { return NC_MSG_ERROR; }