]> granicus.if.org Git - php/commitdiff
fix leak
authorAnatol Belski <ab@php.net>
Sun, 28 Aug 2016 17:11:03 +0000 (19:11 +0200)
committerAnatol Belski <ab@php.net>
Sun, 28 Aug 2016 17:42:41 +0000 (19:42 +0200)
win32/ioutil.c

index 64c8a706d4fc951596c93d7b0c40e6fbbc594495..c57cff18746030d99192dc02d38a0f4c5c631773 100644 (file)
@@ -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();