Changeset 461a518


Ignore:
Timestamp:
03/26/05 18:19:02 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
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:
b86f8d3
Parents:
6a4997b
Message:

fixed memory leak in trace_read_packet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r195a044 r461a518  
    646646        char buf[RP_BUFSIZE];
    647647#if HAVE_PCAP
    648         struct pcap_pkthdr *pcaphdr = malloc(sizeof(struct pcap_pkthdr));
     648        //struct pcap_pkthdr *pcaphdr = malloc(sizeof(struct pcap_pkthdr));
    649649        const u_char *pcappkt;
    650650        int pcapbytes = 0;
Note: See TracChangeset for help on using the changeset viewer.