Ignore:
Timestamp:
05/04/06 17:05:13 (15 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, 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:
bc4c11e
Parents:
48a20e3
Message:

Fixed memory leak in trace_event_trace
Wrote an example using the event framework
Removed old event examples
Updated format_pcapfile to use libtrace_direction_t
erf_read_packet now checks that malloc()ing a buffer actually succeeds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_helper.c

    rb333d68 r5eeba76  
    140140        /* TODO: finalise packet */
    141141        *packet = *trace->event.packet;
    142         trace->event.packet = NULL;
     142        trace_destroy_packet(&trace->event.packet);
    143143
    144144        event.type = TRACE_EVENT_PACKET;
Note: See TracChangeset for help on using the changeset viewer.