Changeset 05000f9 for tools


Ignore:
Timestamp:
11/21/09 18:33:42 (11 years ago)
Author:
Andreas Löf <andreas.lof@…>
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:
47a5c5e
Parents:
2b9a4c7
Message:

fixed segfault when filters are not used :)tracereplay.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracereplay/tracereplay.c

    r2b9a4c7 r05000f9  
    193193        free(uri);
    194194        trace_destroy(trace);
    195         trace_destroy_filter(filter);
     195        if(filter != NULL) {
     196          trace_destroy_filter(filter);
     197        }
    196198        trace_destroy_output(output);
    197199        trace_destroy_packet(packet);
Note: See TracChangeset for help on using the changeset viewer.