Mercurial > vim
view src/proto/json.pro @ 21218:1f4d0375f947 v8.2.1160
patch 8.2.1160: Vim9: memory leak in allocated types
Commit: https://github.com/vim/vim/commit/6110e79a5872dd6c5529f909d1bd670e3325927b
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 8 19:35:21 2020 +0200
patch 8.2.1160: Vim9: memory leak in allocated types
Problem: Vim9: memory leak in allocated types.
Solution: Free the type pointers.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 08 Jul 2020 19:45:04 +0200 |
parents | 0f7ae8010787 |
children | 85b07a942518 |
line wrap: on
line source
/* json.c */ char_u *json_encode(typval_T *val, int options); char_u *json_encode_nr_expr(int nr, typval_T *val, int options); int json_decode(js_read_T *reader, typval_T *res, int options); int json_find_end(js_read_T *reader, int options); void f_js_decode(typval_T *argvars, typval_T *rettv); void f_js_encode(typval_T *argvars, typval_T *rettv); void f_json_decode(typval_T *argvars, typval_T *rettv); void f_json_encode(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */