Introduction
Introduction Statistics Contact Development Disclaimer Help
tex: do not free the buffer returned from ex_pathexpand() - neatvi - [fork] sim…
git clone git://src.adamsgaard.dk/neatvi
Log
Files
Refs
README
---
commit f67ae2b5844b8e6ba7d5186a81fe1f1528cb9825
parent e111e19608ce73e841506964dbd5dae4eff68ea1
Author: Ali Gholami Rudi <[email protected]>
Date: Tue, 26 Apr 2022 22:46:00 +0430
ex: do not free the buffer returned from ex_pathexpand()
Reported by mkf9 <[email protected]>.
Diffstat:
M ex.c | 1 -
1 file changed, 0 insertions(+), 1 deletion(-)
---
diff --git a/ex.c b/ex.c
t@@ -672,7 +672,6 @@ static int ec_exec(char *loc, char *cmd, char *arg)
rep = cmd_pipe(ecmd, text, 1, 1);
if (rep)
lbuf_edit(xb, rep, beg, end);
- free(ecmd);
free(text);
free(rep);
return 0;
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.