mirror of
https://github.com/lucannez64/darling-lol.git
synced 2026-10-26 19:47:42 +00:00
Fix Riot Client crash when cancelling CFHost resolution
This commit is contained in:
1 parent
07c3d09bcc
commit
67626612ac
9 files changed
+112
-2
No files matched your search
@@ -0,0 +1,17 @@
|
||||
diff --git a/src/Host/CFHost.c b/src/Host/CFHost.c
|
||||
index 91c0d0f..d6e3daf 100644
|
||||
--- a/src/Host/CFHost.c
|
||||
+++ b/src/Host/CFHost.c
|
||||
@@ -2221,9 +2221,9 @@ CFHostCancelInfoResolution(CFHostRef theHost, CFHostInfoType info) {
|
||||
|
||||
CFRunLoopSourceContext ctxt = {
|
||||
0, // version
|
||||
- NULL, // info
|
||||
- NULL, // retain
|
||||
- NULL, // release
|
||||
+ host, // info
|
||||
+ CFRetain, // retain
|
||||
+ CFRelease, // release
|
||||
NULL, // copyDescription
|
||||
NULL, // equal
|
||||
NULL, // hash
|
||||
Reference in new issue
Block a user