Fixed bug in processing of dynamic attributes.
This commit is contained in:
parent
65e55e9cca
commit
08732b7178
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ ea_list_copy(ea_list *o)
|
||||||
for(i=0; i<o->count; i++)
|
for(i=0; i<o->count; i++)
|
||||||
{
|
{
|
||||||
eattr *a = &n->attrs[i];
|
eattr *a = &n->attrs[i];
|
||||||
if (!(a->flags & EAF_EMBEDDED))
|
if (!(a->type & EAF_EMBEDDED))
|
||||||
{
|
{
|
||||||
unsigned size = sizeof(struct adata) + a->u.ptr->length;
|
unsigned size = sizeof(struct adata) + a->u.ptr->length;
|
||||||
struct adata *d = mb_alloc(rta_pool, size);
|
struct adata *d = mb_alloc(rta_pool, size);
|
||||||
|
|
Loading…
Reference in a new issue