summaryrefslogtreecommitdiff
path: root/xmalloc.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-12 14:11:06 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-12 14:11:06 +0200
commit44b463529a8a9f2ccd1ec2acb8a4dfc117a636cb (patch)
treef7e0b8b3e7349938cd5300684795b4fc98f10a7a /xmalloc.h
parent9c645ee7da2a82529ff3ed01d04e0893904d7702 (diff)
netsniff-ng: walk_t3_block: prevent fd from double close
Only close the very first pcap file of multi-pcap files once, and not once during next_multi_pcap_file and once during exit. Discovered by Coverty scanner. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'xmalloc.h')
0 files changed, 0 insertions, 0 deletions