about summary refs log tree commit diff
path: root/Src/Zle/textobjects.c
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2014-12-05 20:12:02 +0100
committerOliver Kiddle <opk@zsh.org>2014-12-05 20:13:33 +0100
commit7a4a309973a2cfad2aefbfd6dfa8cc137005b227 (patch)
tree2fc0780fd45029ea4b9eb49239a20dd5bd2163da /Src/Zle/textobjects.c
parentb0a659e71062cd80af82a0a60101d2a122da8cdb (diff)
downloadzsh-7a4a309973a2cfad2aefbfd6dfa8cc137005b227.tar.gz
zsh-7a4a309973a2cfad2aefbfd6dfa8cc137005b227.tar.xz
zsh-7a4a309973a2cfad2aefbfd6dfa8cc137005b227.zip
33860: minor fixes to vi mode changes
Diffstat (limited to 'Src/Zle/textobjects.c')
-rw-r--r--Src/Zle/textobjects.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Zle/textobjects.c b/Src/Zle/textobjects.c
index 7f049c5dd..85d014b27 100644
--- a/Src/Zle/textobjects.c
+++ b/Src/Zle/textobjects.c
@@ -286,6 +286,7 @@ selectargument(UNUSED(char **args))
     /* convert offsets for mark and zlecs back to ZLE internal format */
     linein[wend] = '\0'; /* a bit of a hack to get two offsets */
     free(stringaszleline(linein, wstarts[wcur], &zlecs, &tmpsz, &mark));
+    free(linein);
 
     if (bindk == t_selectinshellword) {
 	ZLE_CHAR_T *match = ZWS("`\'\"");