forked from amazingfate/loongoffice
external/python3: Fix memory leak in configure check code
...that LeakSanitizer would complain about, causing the check to erroneously fail. Change-Id: Ieaef38576afd6196d38f395d48fd1bc92b22ddb6
This commit is contained in:
19
external/python3/python-lsan.patch.0
vendored
Normal file
19
external/python3/python-lsan.patch.0
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
--- configure
|
||||
+++ configure
|
||||
@@ -11821,6 +11821,7 @@
|
||||
break;
|
||||
}
|
||||
}
|
||||
+ freeaddrinfo(aitop);
|
||||
}
|
||||
|
||||
if (!(inet4 == 0 || inet4 == 2))
|
||||
@@ -11828,8 +11829,6 @@
|
||||
if (!(inet6 == 0 || inet6 == 2))
|
||||
goto bad;
|
||||
|
||||
- if (aitop)
|
||||
- freeaddrinfo(aitop);
|
||||
return 0;
|
||||
|
||||
bad:
|
||||
Reference in New Issue
Block a user