about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/complete.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Zle/complete.c b/Src/Zle/complete.c
index 8ba8019e7..dd3b59786 100644
--- a/Src/Zle/complete.c
+++ b/Src/Zle/complete.c
@@ -595,6 +595,7 @@ bin_compadd(char *name, char **argv, char *ops, int func)
 			mstr = tricat(mstr, " ", m);
 		    else
 			mstr = ztrdup(m);
+		    m = NULL;
 		}
 	    }
 	}