Changeset 0a62bba


Ignore:
Timestamp:
11/30/06 10:51:09 (14 years ago)
Author:
Scott Raynel <smr26@…>
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:
120540d
Parents:
41816bf
Message:

Fix a memory leak when calling trace_construct_packet() multiple times

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    rcab58c5 r0a62bba  
    14221422{
    14231423        size_t size;
    1424         libtrace_t *deadtrace=NULL;
     1424        static libtrace_t *deadtrace=NULL;
    14251425        libtrace_pcapfile_pkt_hdr_t hdr;
    14261426        struct timeval tv;
Note: See TracChangeset for help on using the changeset viewer.