From: Pierre Joye Date: Thu, 15 May 2014 08:01:11 +0000 (+0200) Subject: fix invalid use of STR_FREE > efree X-Git-Tag: POST_PHPNG_MERGE~369 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15a887ca1422f1c75c5c1ef5a52deee8613957b3;p=php fix invalid use of STR_FREE > efree --- 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());