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:
bcd9e15
)
fix leak
author
Michael Wallner
<mike@php.net>
Mon, 2 Nov 2015 07:18:39 +0000
(08:18 +0100)
committer
Michael Wallner
<mike@php.net>
Mon, 2 Nov 2015 07:18:39 +0000
(08:18 +0100)
src/parser.h
patch
|
blob
|
history
diff --git
a/src/parser.h
b/src/parser.h
index f56f278eaf86257b91b8ebe973ea581d18999765..1321f6cc8b4292948f2a793cba4f8184b9be33ea 100644
(file)
--- a/
src/parser.h
+++ b/
src/parser.h
@@
-276,6
+276,9
@@
static inline void free_decl_struct(decl_struct *s) {
if (s->args) {
free_decl_args(s->args);
}
+ if (s->layout) {
+ free(s->layout);
+ }
free(s->name);
free(s);
}