about summary refs log tree commit diff
path: root/Src/glob.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/glob.c')
-rw-r--r--Src/glob.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/glob.c b/Src/glob.c
index f5e072c1c..036f88ccc 100644
--- a/Src/glob.c
+++ b/Src/glob.c
@@ -1141,6 +1141,7 @@ zglob(LinkList list, LinkNode np, int nountok)
     gf_noglobdots = unset(GLOBDOTS);
     gf_numsort = isset(NUMERICGLOBSORT);
     gf_sorts = gf_nsorts = 0;
+    gf_pre_words = NULL;
 
     /* Check for qualifiers */
     while (!nobareglob || isset(EXTENDEDGLOB)) {