diff options
author | Edin Kadribasic <edink@php.net> | 2004-09-27 22:23:11 +0000 |
---|---|---|
committer | Edin Kadribasic <edink@php.net> | 2004-09-27 22:23:11 +0000 |
commit | c48f96a7900ae7819532b0022efb1423fbcf1075 (patch) | |
tree | 788454b2aedb0e649369a02e450855b4e7f9efec /win32 | |
parent | b76deb94a3ab1c61e7b6efed24331565f7364a91 (diff) | |
download | php-git-c48f96a7900ae7819532b0022efb1423fbcf1075.tar.gz |
MFB: bugfix #30133
Diffstat (limited to 'win32')
-rw-r--r-- | win32/pwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/pwd.c b/win32/pwd.c index 311e2c6380..de3112db08 100644 --- a/win32/pwd.c +++ b/win32/pwd.c @@ -48,7 +48,7 @@ getlogin() STR_FREE(PW32G(login_name)); GetUserName(name, &max_len); name[max_len] = '\0'; - PW32G(login_name) = strdup(name); + PW32G(login_name) = estrdup(name); return PW32G(login_name); } |