Changeset 584d907


Ignore:
Timestamp:
03/16/15 11:56:15 (6 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:
03f8943, e0be8382
Parents:
3e5518a
Message:

Fix memory leak if guess_format fails

Thanks to Vincenzo Caruso for bringing this to our attention.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r6fc1ae7 r584d907  
    199199        }
    200200       
    201         /* Oh well */
     201        /* No formats matched -- make sure we clean up the IO object we
     202         * used to probe the file magic */
     203        wandio_destroy(libtrace->io);
    202204        return;
    203205}
Note: See TracChangeset for help on using the changeset viewer.