tree schema BUGFIX unlinking derived identities on error

Fixes #1808
diff --git a/src/context.c b/src/context.c
index 15043d3..7fb58df 100644
--- a/src/context.c
+++ b/src/context.c
@@ -1251,7 +1251,7 @@
             lysc_module_free(mod->compiled);
             mod->compiled = NULL;
         }
-        lys_module_free(ctx->list.objs[ctx->list.count - 1]);
+        lys_module_free(ctx->list.objs[ctx->list.count - 1], 0);
     }
     free(ctx->list.objs);