Wireshark-commits: [Wireshark-commits] master ab13515: lwm2mtlv: Fix memleaks in UAT subtree array

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 29 Jan 2019 14:32:43 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ab13515315a4263eb86dbc6e4b0e55bbbc862244
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

ab13515 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    lwm2mtlv: Fix memleaks in UAT subtree array handling
    
    No need to allocate pointers for subtree indexes.
    
    Change-Id: Ia1214e42d8220341454e1126878c217835788797
    Reviewed-on: https://code.wireshark.org/review/31776
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  8b75b52   wslua: Don't defer deletion of subtree indexes
     add  ab13515   lwm2mtlv: Fix memleaks in UAT subtree array handling


Summary of changes:
 epan/dissectors/packet-lwm2mtlv.c | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)