com php-src: fix invalid use of STR_FREE > efree: w in32/wsyslog.c

From: Date: Thu, 15 May 2014 08:01:11 +0000
Subject: com php-src: fix invalid use of STR_FREE > efree: w in32/wsyslog.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-78360@lists.php.net to get a copy of this message
Commit: 15a887ca1422f1c75c5c1ef5a52deee8613957b3 Author: Pierre Joye <pierre.php@gmail.com> Thu, 15 May 2014 10:01:11 +0200 Parents: d8c67496499e5955707ddd99212cf4273bfa2ff7 Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=15a887ca1422f1c75c5c1ef5a52deee8613957b3 Log: fix invalid use of STR_FREE > efree Changed paths: M win32/wsyslog.c Diff: diff --git a/win32/wsyslog.c b/win32/wsyslog.c index 4266079..75c5ef5 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());

« previous php.cvs (#78360) next »