schema compile CHANGE support for instance-identifier type
diff --git a/src/tree_schema_free.c b/src/tree_schema_free.c
index 76ef956..92c904a 100644
--- a/src/tree_schema_free.c
+++ b/src/tree_schema_free.c
@@ -549,6 +549,7 @@
     case LY_TYPE_UINT64:
         FREE_MEMBER(ctx, ((struct lysc_type_num*)type)->range, lysc_range_free);
         break;
+    case LY_TYPE_INST:
     case LY_TYPE_BOOL:
     case LY_TYPE_EMPTY:
     case LY_TYPE_UNKNOWN: /* just to complete switch */