summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2004-09-27 22:23:11 +0000
committerEdin Kadribasic <edink@php.net>2004-09-27 22:23:11 +0000
commitc48f96a7900ae7819532b0022efb1423fbcf1075 (patch)
tree788454b2aedb0e649369a02e450855b4e7f9efec /win32
parentb76deb94a3ab1c61e7b6efed24331565f7364a91 (diff)
downloadphp-git-c48f96a7900ae7819532b0022efb1423fbcf1075.tar.gz
MFB: bugfix #30133
Diffstat (limited to 'win32')
-rw-r--r--win32/pwd.c2
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);
}