Mercurial > vim
view src/proto/vim9script.pro @ 20542:dd3165956464 v8.2.0825
patch 8.2.0825: def_function() may return pointer that was freed
Commit: https://github.com/vim/vim/commit/a14e6975478adeddcc2161edc1ec611016aa89f3
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 25 23:29:28 2020 +0200
patch 8.2.0825: def_function() may return pointer that was freed
Problem: def_function() may return pointer that was freed.
Solution: Set "fp" to NULL after freeing it.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 25 May 2020 23:30:03 +0200 |
parents | 2fee087c94cb |
children | 0600ab7b9f09 |
line wrap: on
line source
/* vim9script.c */ int in_vim9script(void); void ex_vim9script(exarg_T *eap); void ex_export(exarg_T *eap); void free_imports(int sid); void ex_import(exarg_T *eap); int find_exported(int sid, char_u **argp, int *name_len, ufunc_T **ufunc, type_T **type); char_u *handle_import(char_u *arg_start, garray_T *gap, int import_sid, void *cctx); /* vim: set ft=c : */