Wireshark-commits: [Wireshark-commits] master-2.0 b1d106a: Qt: Fixed use-of-deallocated-memory when
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 14 Nov 2015 18:11:28 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b1d106a8013d28ea0f6e2543df14f83635249e80
Submitter: Stig Bj?rlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

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

    Qt: Fixed use-of-deallocated-memory when removing a profile.
    
    The memory used for profile item data is accessed in updateWidgets() which
    is called when setting the Default profile as selected.  Ensure we free
    this memory after this has happened.
    
    Bug: 11705
    Change-Id: I79e12d918289e1fcf25331c39439e9c6f3b774d5
    Reviewed-on: https://code.wireshark.org/review/11827
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    (cherry picked from commit 9196fa96edc467b04b68e845eb735c97ed3c8d3a)
    Reviewed-on: https://code.wireshark.org/review/11828
    

Actions performed:

    from  9505d3c   UDP Multicast Stats: Fixed typo
    adds  b1d106a   Qt: Fixed use-of-deallocated-memory when removing a profile.


Summary of changes:
 ui/qt/profile_dialog.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)