Wireshark-commits: [Wireshark-commits] master 9196fa9: Qt: Fixed use-of-deallocated-memory when rem

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 14 Nov 2015 18:11:08 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9196fa96edc467b04b68e845eb735c97ed3c8d3a
Submitter: Stig Bj?rlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

9196fa9 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>
    

Actions performed:

    from  8faf5c8   register_dissector -> new_register_dissector
    adds  9196fa9   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(-)