From: Michael Wallner Date: Mon, 29 Oct 2018 07:52:31 +0000 (+0100) Subject: fix leak X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=56b1effb56b4feb735e51bcc0b0d88432c35e5c7;p=m6w6%2Fext-psi fix leak --- diff --git a/psi.d/glob.psi b/psi.d/glob.psi index d0c62cb..4e5589a 100644 --- a/psi.d/glob.psi +++ b/psi.d/glob.psi @@ -27,4 +27,5 @@ function psi\glob(string $pattern, int $flags, array &$glob = NULL, callable $er to_int(gl_flags), to_array(*gl_pathv, gl_pathc + gl_offs, to_string(*gl_pathv)) ); + free globfree(buf); }