Changeset 6fac5db for lib


Ignore:
Timestamp:
09/25/15 11:18:55 (5 years ago)
Author:
Shane Alcock <salcock@…>
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:
10553bf
Parents:
389dd77
Message:

Actually, don't free hasher_data

We can't guarantee that the data was actually malloc'd, so we'll
have to trust the user to free it themselves.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    rff12906 r6fac5db  
    733733                trace_destroy_callback_set(libtrace->reporter_cbs);
    734734
    735         if (libtrace->hasher_data)
    736                 free(libtrace->hasher_data);
    737        
    738735        if (libtrace->event.packet) {
    739736                /* Don't use trace_destroy_packet here - there is almost
Note: See TracChangeset for help on using the changeset viewer.