Changeset f0d19d4 for lib/format_pcap.c


Ignore:
Timestamp:
02/22/06 18:02:59 (16 years ago)
Author:
Perry Lorier <perry@…>
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:
c2d5f23
Parents:
c1db742
Message:

Make valgrind happier by free'ing memory that we should have been!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_pcap.c

    rc1db742 rf0d19d4  
    237237        pcap_dump_flush(OUTPUT.trace.dump);
    238238        pcap_dump_close(OUTPUT.trace.dump);
     239        pcap_close(OUTPUT.trace.pcap);
     240        free(libtrace->format_data);
    239241        return 0;
    240242}
Note: See TracChangeset for help on using the changeset viewer.