Mercurial > vim
annotate src/proto/locale.pro @ 30970:6d6545c99597 v9.0.0820
patch 9.0.0820: memory leak with empty shell command
Commit: https://github.com/vim/vim/commit/03d6e6f42b0deeb02d52c8a48c14abe431370c1c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 29 21:53:08 2022 +0100
patch 9.0.0820: memory leak with empty shell command
Problem: Memory leak with empty shell command.
Solution: Free the empty string.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 02 Nov 2022 11:18:50 +0100 |
parents | b32b67a108f2 |
children |
rev | line source |
---|---|
21437
b32b67a108f2
patch 8.2.1269: language and locale code spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* locale.c */ |
b32b67a108f2
patch 8.2.1269: language and locale code spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 char_u *get_mess_lang(void); |
b32b67a108f2
patch 8.2.1269: language and locale code spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 void set_lang_var(void); |
b32b67a108f2
patch 8.2.1269: language and locale code spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 void init_locale(void); |
b32b67a108f2
patch 8.2.1269: language and locale code spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 void ex_language(exarg_T *eap); |
b32b67a108f2
patch 8.2.1269: language and locale code spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 void free_locales(void); |
b32b67a108f2
patch 8.2.1269: language and locale code spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 char_u *get_lang_arg(expand_T *xp, int idx); |
b32b67a108f2
patch 8.2.1269: language and locale code spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 char_u *get_locales(expand_T *xp, int idx); |
b32b67a108f2
patch 8.2.1269: language and locale code spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 /* vim: set ft=c : */ |