diff options
Diffstat (limited to 'nest/rt-attr.c')
-rw-r--r-- | nest/rt-attr.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c index 53e85a6a..8b4dc43e 100644 --- a/nest/rt-attr.c +++ b/nest/rt-attr.c @@ -251,9 +251,17 @@ ea_list_copy(ea_list *o) static inline void ea_free(ea_list *o) { + int i; + if (o) { ASSERT(!o->next); + for(i=0; i<o->count; i++) + { + eattr *a = &o->attrs[i]; + if (!(a->type & EAF_EMBEDDED)) + mb_free(a->u.ptr); + } mb_free(o); } } |