Changeset 600f5d1 in mainline for uspace/app/bithenge/tree.c


Ignore:
Timestamp:
2012-06-27T20:10:30Z (12 years ago)
Author:
Sean Bartell <wingedtachikoma@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
02dcb20
Parents:
978ccaf1
Message:

Bithenge: add composition, ascii, and zero_terminated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bithenge/tree.c

    r978ccaf1 r600f5d1  
    226226        assert(out);
    227227        bithenge_node_t *self = malloc(sizeof(*self));
    228         if (!self)
     228        if (!self) {
     229                if (needs_free)
     230                        free((void *)value);
    229231                return ENOMEM;
     232        }
    230233        self->type = BITHENGE_NODE_STRING;
    231234        self->refs = 1;
Note: See TracChangeset for help on using the changeset viewer.