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

unposted: one missing *name = NULL

This commit is contained in:
Peter Stephenson 2017-01-12 20:59:24 +00:00
parent 178e62dbfe
commit 00f16c8e68
2 changed files with 3 additions and 0 deletions

View file

@ -1523,6 +1523,7 @@ dircache_set(char **name, char *value)
zfree(dircache, sizeof(*dircache));
dircache = NULL;
dircache_lastentry = NULL;
*name = NULL;
return;
}
dcnew = (struct dircache_entry *)