Changeset 747c501 for lib/format_pcap.c


Ignore:
Timestamp:
04/27/06 00:48:42 (15 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:
e641bdc
Parents:
d97bbb2
Message:

Fix some memory leaks
Add new destroy for bpf filters
Properly initialise memory for wag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_pcap.c

    r91db67b r747c501  
    235235}
    236236
    237 static int pcapint_pause_input(libtrace_t *libtrace)
     237static int pcap_pause_input(libtrace_t *libtrace)
    238238{
    239239        pcap_close(INPUT.pcap);
     
    242242}
    243243
     244
    244245static int pcap_fin_input(libtrace_t *libtrace)
    245246{
     247        pcap_close(INPUT.pcap);
    246248        free(libtrace->format_data);
    247249        return 0; /* success */
     
    554556        pcapint_config_input,           /* config_input */
    555557        pcapint_start_input,            /* start_input */
    556         pcapint_pause_input,            /* pause_input */
     558        pcap_pause_input,               /* pause_input */
    557559        pcapint_init_output,            /* init_output */
    558560        NULL,                           /* config_output */
Note: See TracChangeset for help on using the changeset viewer.