diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2015-01-25 18:03:20 +0000 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2015-01-25 18:03:20 +0000 |
commit | ccd3663d4e9a1749450b35cc689359f78a310c04 (patch) | |
tree | ee6c63f9d160eb2fa6a1777923b9c8e44a4982c4 /Src | |
parent | f972b023a20e9fb67b2693ab7c5936d5c545fe55 (diff) | |
download | zsh-ccd3663d4e9a1749450b35cc689359f78a310c04.tar.gz zsh-ccd3663d4e9a1749450b35cc689359f78a310c04.tar.xz zsh-ccd3663d4e9a1749450b35cc689359f78a310c04.zip |
34383: ztrdup() should be dupstring() in new cd code
Diffstat (limited to 'Src')
-rw-r--r-- | Src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/utils.c b/Src/utils.c index cf18f1240..0490df516 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -1114,7 +1114,7 @@ getnameddir(char *name) zsfree(dir); return str; } else - return ztrdup(pw->pw_dir); + return dupstring(pw->pw_dir); } } #endif /* HAVE_GETPWNAM */ |