commit | c04900a3ce153a18ebcf9b572e1d97ea84729f5f | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 15 16:20:24 2016 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 15 16:20:24 2016 +0100 |
tree | 6ffb6242d4f1d48faf82c48b61c7d924eb8075a4 | |
parent | 01a4f0e32ffc23f03092f1fb1a0e239716f45969 [diff] [blame] |
BUGFIX wrong variable freed
diff --git a/src/netopeerguid.c b/src/netopeerguid.c index 8b4d82a..901e7e9 100644 --- a/src/netopeerguid.c +++ b/src/netopeerguid.c
@@ -282,7 +282,7 @@ } json_object_object_add(s->hello_message, "models", json_obj); - lyd_free(node); + lyd_free(yanglib); } DEBUG("%s", json_object_to_json_string(s->hello_message));