yin parser CHANGE add support for typedef element
diff --git a/src/tree_schema_free.c b/src/tree_schema_free.c
index f6aa3d3..ae23ff0 100644
--- a/src/tree_schema_free.c
+++ b/src/tree_schema_free.c
@@ -155,7 +155,7 @@
     }
 }
 
-static void
+void
 lysp_tpdf_free(struct ly_ctx *ctx, struct lysp_tpdf *tpdf)
 {
     FREE_STRING(ctx, tpdf->name);