ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master cdb1123: rawshark: Free pipe name and version info st

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 24 Aug 2018 08:54:25 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=cdb1123b9ab727fde7d3d05ffbb3b092a8d14265
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

cdb1123 by Vasil Velichkov (vvvelichkov@xxxxxxxxx):

    rawshark: Free pipe name and version info strings
    
    The comp_info_str and runtime_info_str are always allocated but were
    only freed when the -v parameter is specified.
    
    ../test/util_dump_dhcp_pcap.py raw | valgrind --tool=memcheck --leak-check=full \
        run/rawshark -r - -n -dencap:1 -R "udp.port==68"
    
    Change-Id: I6e641ae1dbb428e4dd29c2027f6a4b2305e7bcaa
    Reviewed-on: https://code.wireshark.org/review/29269
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  3ba67f7   AT: Add CSQ command
     add  cdb1123   rawshark: Free pipe name and version info strings


Summary of changes:
 rawshark.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)