projects
/
m6w6
/
ext-psi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
4138948
)
fix leak
author
Michael Wallner
<mike@php.net>
Mon, 29 Oct 2018 07:52:31 +0000
(08:52 +0100)
committer
Michael Wallner
<mike@php.net>
Mon, 29 Oct 2018 07:52:31 +0000
(08:52 +0100)
psi.d/glob.psi
patch
|
blob
|
history
diff --git
a/psi.d/glob.psi
b/psi.d/glob.psi
index d0c62cbd16a856bfbe13a2afdfbfa0cd23e2b7aa..4e5589a579fa5b1470e7b074f4b2de62a1986663 100644
(file)
--- 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);
}