Wireshark-commits: [Wireshark-commits] master 1f6449c: Qt: Fix a memory leak in ByteViewTab

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 13 Apr 2020 13:29:25 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1f6449c05d70a8b1acf08b7c6795723c797e3ef5
Submitter: "Martin Kaiser <wireshark@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

1f6449c by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Qt: Fix a memory leak in ByteViewTab
    
    FieldInformation::parentField() allocated a new FieldInformation,
    so ensure to delete this when done.
    
    Change-Id: Id0f538cc696551ec47169103be823eb1e55d1777
    Reviewed-on: https://code.wireshark.org/review/36823
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    

Actions performed:

    from  55920e6   extcap: Fix a memory leak
     add  1f6449c   Qt: Fix a memory leak in ByteViewTab


Summary of changes:
 ui/qt/byte_view_tab.cpp | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)