updated for version 7.0093
diff --git a/src/edit.c b/src/edit.c
index ebfe7fd..c911702 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -4985,6 +4985,15 @@
     }
 }
 
+#if defined(EXITFREE) || defined(PROTO)
+    void
+free_last_insert()
+{
+    vim_free(last_insert);
+    last_insert = NULL;
+}
+#endif
+
 /*
  * Add character "c" to buffer "s".  Escape the special meaning of K_SPECIAL
  * and CSI.  Handle multi-byte characters.