Changeset 8370482 for lib


Ignore:
Timestamp:
03/31/15 11:35:06 (7 years ago)
Author:
Richard Sanger <rsangerarj@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, 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:
bf3c54e
Parents:
dfbdda7a
Message:

Fix bug when not using reporter combiner is destroyed without be initialised

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    rd3849c7 r8370482  
    704704                // This has all of our packets
    705705                libtrace_ocache_destroy(&libtrace->packet_freelist);
    706                 if (libtrace->combiner.destroy)
     706                if (libtrace->combiner.destroy && libtrace->reporter)
    707707                        libtrace->combiner.destroy(libtrace, &libtrace->combiner);
    708708                free(libtrace->perpkt_threads);
Note: See TracChangeset for help on using the changeset viewer.