mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
wininet-FtpFindFirstFile: Replace HeapFree with heap_free.
... which is the same, but makes the coding style look more similar to existing code.
This commit is contained in:
parent
71a0838ac3
commit
1de37be8c1
@ -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 <sebastian@fds-team.de>
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user