com php-src: fix leak: win32/ioutil.c
| From: | Anatol Belski | Date: | Sun, 28 Aug 2016 17:42:41 +0000 |
| Subject: | com php-src: fix leak: win32/ioutil.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94089@lists.php.net to get a copy of this message | ||
Commit: b415290c9271adea5a53a93b2ec4d3ebb60e1d26
Author: Anatol Belski <ab@php.net> Sun, 28 Aug 2016 19:11:03 +0200
Parents: 48b1cb2f124c3efee27054978ae404c45651dd82
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b415290c9271adea5a53a93b2ec4d3ebb60e1d26
Log:
fix leak
Changed paths:
M win32/ioutil.c
Diff:
diff --git a/win32/ioutil.c b/win32/ioutil.c
index 64c8a70..c57cff1 100644
--- a/win32/ioutil.c
+++ b/win32/ioutil.c
@@ -316,7 +316,7 @@ PW32IO int php_win32_ioutil_mkdir(const char *path, mode_t mode)
return -1;
}
- PHP_WIN32_IOUTIL_CHECK_PATH_W(pathw, -1, 0)
+ PHP_WIN32_IOUTIL_CHECK_PATH_W(pathw, -1, 1)
if (!CreateDirectoryW(pathw, NULL)) {
err = GetLastError();