summaryrefslogtreecommitdiff
path: root/external/python3/python-lsan.patch.0
blob: 3796904bed4eb1cb6e5265137d7f81004826a7d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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: