Wireshark-commits: [Wireshark-commits] master 2c56c6f: igmp: fix memleak

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 8 Jun 2015 04:21:54 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2c56c6fa76d8b0f82a2eaa13a1890c6bf9e02cc8
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

2c56c6f by Peter Wu (peter@xxxxxxxxxxxxx):

    igmp: fix memleak
    
    dissector_add_uint_range walks through ranges and then does not need the
    range anymore. Discovered with `tshark -G fields` and GCC 5.1 + ASAN.
    
    Change-Id: I76f98a6ccee6dbbecc1efb847c358bd6d010e1dc
    Reviewed-on: https://code.wireshark.org/review/8825
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  5472e4d   Debugging printf.
    adds  2c56c6f   igmp: fix memleak


Summary of changes:
 epan/dissectors/packet-igmp.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)