Changeset 03aca91


Ignore:
Timestamp:
08/25/15 15:42:04 (5 years ago)
Author:
Richard Sanger <rsangerarj@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
f2066fa
Parents:
341c38f
Message:

Fixes an extra level of indirection in a memcopy in the linked list structure

Fixes an issue Dan found, luckly this is in an unused code path.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/data-struct/linked_list.c

    rcb39d35 r03aca91  
    5252
    5353        new->prev = NULL;
    54         memcpy(&new->data, item, l->element_size);
     54        memcpy(new->data, item, l->element_size);
    5555
    5656        if (l->head == NULL) {
Note: See TracChangeset for help on using the changeset viewer.