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 df34547..0820c20 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