diff options
Diffstat (limited to 'win32/wsyslog.c')
-rw-r--r-- | win32/wsyslog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/wsyslog.c b/win32/wsyslog.c index 4266079e13..75c5ef58e5 100644 --- a/win32/wsyslog.c +++ b/win32/wsyslog.c @@ -67,7 +67,7 @@ void closelog(void) PW32G(log_source) = NULL; } if (PW32G(log_header)) { - STR_FREE(PW32G(log_header)); + efree(PW32G(log_header)); PW32G(log_header) = NULL; } } @@ -129,7 +129,7 @@ void openlog(const char *ident, int logopt, int facility) closelog(); } - STR_FREE(PW32G(log_header)); + efree(PW32G(log_header)); PW32G(log_source) = RegisterEventSource(NULL, "PHP-" PHP_VERSION); spprintf(&PW32G(log_header), 0, (logopt & LOG_PID) ? "%s[%d]" : "%s", ident, getpid()); |