Wireshark-commits: [Wireshark-commits] master-2.6 0b7eb30: btmesh: Fix memleaks in UAT handling
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 30 Jan 2019 10:41:10 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0b7eb30d4ae70b5f6732e8fb257d7ea0f7798f25
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

0b7eb30 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    btmesh: Fix memleaks in UAT handling
    
    Free allocated strings before allocating new and in free callback.
    
    Change-Id: If7bd0ee8455cf3c3e0c6300ce79e20557256eb8e
    Reviewed-on: https://code.wireshark.org/review/31773
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    (cherry picked from commit 469d7bf9d997a8751031acbfb862da1edc73c649)
    Reviewed-on: https://code.wireshark.org/review/31813
    

Actions performed:

    from  0f60296   Once we've identified a TCP segment as rpcap, use rpcap for the connection.
     add  0b7eb30   btmesh: Fix memleaks in UAT handling


Summary of changes:
 epan/dissectors/packet-btmesh.c | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)