X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fparser.h;h=1321f6cc8b4292948f2a793cba4f8184b9be33ea;hp=f56f278eaf86257b91b8ebe973ea581d18999765;hb=70136a34090807976d66b361fbc8963c0c91f17e;hpb=bcd9e150292290ce2951fdca61fad526c478e787 diff --git a/src/parser.h b/src/parser.h index f56f278..1321f6c 100644 --- 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); }