patch 9.0.1109: leaking allocated type

Problem:    Leaking allocated type.
Solution:   Reset the "static" flag in the allocated type copy.
diff --git a/src/version.c b/src/version.c
index d2e01fe..773a919 100644
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1109,
+/**/
     1108,
 /**/
     1107,
diff --git a/src/vim9instr.c b/src/vim9instr.c
index b4c66e3..f5795cd 100644
--- a/src/vim9instr.c
+++ b/src/vim9instr.c
@@ -594,6 +594,7 @@
 	if (tt != NULL)
 	{
 	    *tt = *expected;
+	    tt->tt_flags &= ~TTFLAG_STATIC;
 	    tt->tt_flags |= TTFLAG_NUMBER_OK;
 	}
     }