From: Jérémie Astor Date: Mon, 9 Dec 2019 21:19:07 +0000 (+0100) Subject: :art: get_free_type_correct X-Git-Tag: nightly~1998 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=bd116d1449cc800a326a6d159923a51404b9a8bb;p=gwion.git :art: get_free_type_correct --- diff --git a/src/oo/type.c b/src/oo/type.c index f69a53d0..a3d1d886 100644 --- a/src/oo/type.c +++ b/src/oo/type.c @@ -9,11 +9,11 @@ ANN static inline m_bool freeable(const Type a) { return !GET_FLAG(a, nonnull) && - GET_FLAG(a, template) || GET_FLAG(a, global); + (GET_FLAG(a, template) || GET_FLAG(a, global)); } ANN static void free_type(Type a, Gwion gwion) { - if(freeable(a)) + if(freeable(a)) { if(GET_FLAG(a, union)) { if(a->e->def->union_def) { if(!GET_FLAG(a, pure)) { // <=> decl_list