diff --git a/patches/wininet-FtpFindFirstFile/0001-wininet-Fix-handling-of-subdirectory-in-FtpFindFirst.patch b/patches/wininet-FtpFindFirstFile/0001-wininet-Fix-handling-of-subdirectory-in-FtpFindFirst.patch index cd3afe90..6a337abe 100644 --- a/patches/wininet-FtpFindFirstFile/0001-wininet-Fix-handling-of-subdirectory-in-FtpFindFirst.patch +++ b/patches/wininet-FtpFindFirstFile/0001-wininet-Fix-handling-of-subdirectory-in-FtpFindFirst.patch @@ -1,4 +1,4 @@ -From c86309d8f87a4ceb1f22fdb5ca678dc3f720d9ce Mon Sep 17 00:00:00 2001 +From dd5f4680aa8ee8f8e354f0d389a87441cf2a5c65 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Tue, 16 Dec 2014 01:37:12 +0100 Subject: wininet: Fix handling of subdirectory in FtpFindFirstFile. @@ -10,7 +10,7 @@ Based on a patch by Mike Ruprecht. 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c -index f45e495..dbe9dd8 100644 +index f45e495..64c06c3 100644 --- a/dlls/wininet/ftp.c +++ b/dlls/wininet/ftp.c @@ -831,6 +831,7 @@ static HINTERNET FTP_FtpFindFirstFileW(ftp_session_t *lpwfs, @@ -47,7 +47,7 @@ index f45e495..dbe9dd8 100644 } lend: -+ HeapFree(GetProcessHeap(), 0, lpszSearchPath); ++ heap_free(lpszSearchPath); + if (lpwfs->lstnSocket != -1) {