diff options
Diffstat (limited to 'win32/registry.c')
-rw-r--r-- | win32/registry.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/win32/registry.c b/win32/registry.c index 8ae25011b7..e36caa94f7 100644 --- a/win32/registry.c +++ b/win32/registry.c @@ -1,7 +1,7 @@ #include "php.h" #include "php_ini.h" -void UpdateIniFromRegistry(char *path) +void UpdateIniFromRegistry(char *path TSRMLS_DC) { char *p, *orig_path; HKEY MainKey; @@ -11,7 +11,6 @@ void UpdateIniFromRegistry(char *path) return; } - orig_path = path = estrdup(path); /* Get rid of C:, if exists */ |