From: Michael Wallner Date: Thu, 7 Jan 2016 09:36:44 +0000 (+0100) Subject: fix leak X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=5c82e8c40c87314d9bd93c42d36f194413eae619;p=m6w6%2Fext-psi fix leak --- diff --git a/psi.d/netdb.psi b/psi.d/netdb.psi index df34547..0820c20 100644 --- a/psi.d/netdb.psi +++ b/psi.d/netdb.psi @@ -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