Module: wine Branch: master Commit: 8a18836efce36fb33f94a02d97f0b2ff76260ce3 URL: https://gitlab.winehq.org/wine/wine/-/commit/8a18836efce36fb33f94a02d97f0b2f...
Author: Brendan Shanks bshanks@codeweavers.com Date: Mon Nov 28 09:03:22 2022 -0800
wpcap: Free wine_get_unix_file_name memory with HeapFree.
---
dlls/wpcap/wpcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wpcap/wpcap.c b/dlls/wpcap/wpcap.c index c93c8540145..bc4cb63c623 100644 --- a/dlls/wpcap/wpcap.c +++ b/dlls/wpcap/wpcap.c @@ -135,7 +135,7 @@ void * CDECL pcap_dump_open( struct pcap *pcap, const char *filename ) params.name = unix_path; params.ret = &dumper; PCAP_CALL( dump_open, ¶ms ); - RtlFreeHeap( GetProcessHeap(), 0, unix_path ); + HeapFree( GetProcessHeap(), 0, unix_path ); return dumper; }