diff options
author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2018-07-31 22:15:58 +0900 |
---|---|---|
committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2018-07-31 22:15:58 +0900 |
commit | baedd62f0d601bf03d99b2366a8ace42268e88ed (patch) | |
tree | 82add95fcfcf764c535b2b3ee126eb012ba5b648 /Src/Modules/pcre.c | |
parent | e6f2d776d3ce582533fc6177082270872fcf67a3 (diff) | |
download | zsh-baedd62f0d601bf03d99b2366a8ace42268e88ed.tar.gz zsh-baedd62f0d601bf03d99b2366a8ace42268e88ed.tar.xz zsh-baedd62f0d601bf03d99b2366a8ace42268e88ed.zip |
43219 (except term{cap,info}.c): fix several memory leaks
Diffstat (limited to 'Src/Modules/pcre.c')
-rw-r--r-- | Src/Modules/pcre.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Modules/pcre.c b/Src/Modules/pcre.c index 15ee34bc8..6289e003e 100644 --- a/Src/Modules/pcre.c +++ b/Src/Modules/pcre.c @@ -380,6 +380,7 @@ bin_pcre_match(char *nam, char **args, Options ops, UNUSED(int func)) if (ovec) zfree(ovec, ovecsize*sizeof(int)); + zsfree(plaintext); return return_value; } |