Wireshark-commits: [Wireshark-commits] master 348de74: Qt: Fix memory leak in Profile model

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 29 Jul 2019 13:37:08 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=348de74cfbd0c252943cb1e6d5e6cb86af92d12a
Submitter: "Roland Knall <rknall@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

348de74 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Qt: Fix memory leak in Profile model
    
    The pointer from get_persconffile_path(), get_profiles_dir() and
    get_system_profiles_dir() is malloc'ed so ensure this is freed when done.
    
    Change-Id: Id836643a4209f0f9ec570a18f62a8c58cf2b67a7
    Reviewed-on: https://code.wireshark.org/review/34119
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  b5c82c5   Qt: Rename lblInfo to hintLabel
     add  348de74   Qt: Fix memory leak in Profile model


Summary of changes:
 ui/qt/models/profile_model.cpp | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)