Changeset 2aafabe


Ignore:
Timestamp:
10/21/16 10:54:18 (4 years ago)
Author:
GitHub <noreply@…>
Parents:
000726a (diff), fe085b9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Shane Alcock <salcock@…> (10/21/16 10:54:18)
git-committer:
GitHub <noreply@…> (10/21/16 10:54:18)
Message:

Merge pull request #31 from EaseTheWorld?/patch-1

Fix leak in format_pcap.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_pcap.c

    r2e91590 rfe085b9  
    363363static int pcap_fin_input(libtrace_t *libtrace)
    364364{
     365        if (INPUT.pcap) {
     366                pcap_close(INPUT.pcap);
     367                INPUT.pcap=NULL;
     368        }
    365369        free(libtrace->format_data);
    366370        return 0; /* success */
Note: See TracChangeset for help on using the changeset viewer.