commit | d32821926c38fa2cbd64bd050e63f54153285408 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Sep 05 11:27:57 2016 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon Sep 05 11:27:57 2016 +0200 |
tree | 58d9deb80be036525b88949c87e67eff30983a80 | |
parent | 8f0d0e69ea7c2e0cff8c33c50d3fa865197a616e [diff] [blame] |
schema tree BUGFIX free based identity array Fixes #110
diff --git a/src/tree_schema.c b/src/tree_schema.c index fec568b..d4e2892 100644 --- a/src/tree_schema.c +++ b/src/tree_schema.c
@@ -1256,8 +1256,12 @@ free(type->info.uni.types); break; + case LY_TYPE_IDENT: + free(type->info.ident.ref); + break; + default: - /* nothing to do for LY_TYPE_IDENT, LY_TYPE_INST, LY_TYPE_BOOL, LY_TYPE_EMPTY */ + /* nothing to do for LY_TYPE_INST, LY_TYPE_BOOL, LY_TYPE_EMPTY */ break; } }