Changeset d0f25d4 for lib/trace.c


Ignore:
Timestamp:
01/23/19 13:02:54 (2 years ago)
Author:
Jacob Van Walraven <jcv9@…>
Branches:
develop
Children:
23741ec5
Parents:
23d263a
Message:

Add ERF and PCAPNG decoders to libpacketdump

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    rd4eed70 rd0f25d4  
    952952                                 * if this packet is ever reused
    953953                                 */
    954         /* free meta fields */
    955         if (packet->meta.interface_name != NULL)
    956                 free(packet->meta.interface_name);
    957         if (packet->meta.interface_description != NULL)
    958                 free(packet->meta.interface_description);
    959         if (packet->meta.host_os != NULL)
    960                 free(packet->meta.host_os);
    961         if (packet->meta.interface_hardware_desc != NULL)
    962                 free(packet->meta.interface_hardware_desc);
    963         if (packet->meta.interface_comment != NULL)
    964                 free(packet->meta.interface_comment);
    965         if (packet->meta.capture_application != NULL)
    966                 free(packet->meta.capture_application);
    967 
    968954        free(packet);
    969955}
Note: See TracChangeset for help on using the changeset viewer.