projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
fix leaks
[m6w6/ext-psi]
/
src
/
parser_proc.y
diff --git
a/src/parser_proc.y
b/src/parser_proc.y
index fc2ff7ad733488164ce2114de63fe2c166267b76..d55f7e779e47b7f4193339fb8410cade291ad491 100644
(file)
--- a/
src/parser_proc.y
+++ b/
src/parser_proc.y
@@
-333,6
+333,7
@@
impl_args(args) ::= LPAREN impl_arg_list(args_) COMMA impl_vararg(va) RPAREN. {
%destructor impl_vararg {free_impl_arg($$);}
impl_vararg(va) ::= impl_type(type) reference(r) ELLIPSIS DOLLAR NAME(T). {
va = init_impl_arg(type, init_impl_var(T->text, r), NULL);
+ free(T);
}
%type impl_arg_list {impl_args*}