Changeset 747c501 for lib/format_erf.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_erf.c

    re4ebf84 r747c501  
    382382
    383383static int erf_init_output(libtrace_out_t *libtrace) {
    384         libtrace->format_data = calloc(1,sizeof(struct erf_format_data_out_t));
     384        libtrace->format_data = malloc(sizeof(struct erf_format_data_out_t));
    385385
    386386        OPTIONS.erf.level = 0;
Note: See TracChangeset for help on using the changeset viewer.