fix leak
authorMichael Wallner <mike@php.net>
Thu, 7 Jan 2016 09:36:44 +0000 (10:36 +0100)
committerMichael Wallner <mike@php.net>
Thu, 7 Jan 2016 09:36:44 +0000 (10:36 +0100)
psi.d/netdb.psi

index df3454768b0b19ff987c5680a5f792e95b04497b..0820c205723a9ab23e187cb79a63dc01d8460983 100644 (file)
@@ -32,4 +32,5 @@ function psi\getaddrinfo(string $node, string $service, array $hints, object &$r
                to_string(ai_canonname),
                to_array(ai_next, ...)
        );
+       free freeaddrinfo(res);
 }
\ No newline at end of file