Wireshark-commits: [Wireshark-commits] master 14fba80: Fix builds without libpcap.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 3 Feb 2017 00:01:45 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=14fba80f0f478d9c167685ca2be74c72e46d2664
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

14fba80 by Guy Harris (guy@xxxxxxxxxxxx):

    Fix builds without libpcap.
    
    capture_opts_cleanup() doesn't exist if we're building without libpcap,
    so don't call it if we're building without libpcap.
    
    Change-Id: I6c9defea15fac7df5533269c4945b965d9a67c25
    Reviewed-on: https://code.wireshark.org/review/19924
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  93a5c83   capture_opts: free memory on exit to avoid leak.
    adds  14fba80   Fix builds without libpcap.


Summary of changes:
 tshark.c         |    2 ++
 wireshark-qt.cpp |    2 ++
 2 files changed, 4 insertions(+)