1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-29 05:21:00 +01:00

unposted: improve 20150 by setting pointer to NULL

This commit is contained in:
Peter Stephenson 2004-07-12 10:05:46 +00:00
parent def0167e34
commit aad11eb618
3 changed files with 18 additions and 0 deletions

View file

@ -1770,7 +1770,10 @@ calclist(int showall)
}
else
for (g = amatches; g; g = g->next)
{
zfree(g->widths, 0);
g->widths = NULL;
}
listdat.valid = 1;
listdat.hidden = hidden;
listdat.nlist = nlist;