Wireshark-commits: [Wireshark-commits] master-2.0 693164e: Qt: fix memory leaks in VoIP calls windo
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 26 Oct 2015 11:07:19 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=693164ed228ae2bfc0b1d59fe0b932794569784a
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

693164e by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    Qt: fix memory leaks in VoIP calls window
    
    - Add free of h245_labels to voip_calls_remove_all_tap_listeners() so that memory is not leaked with Qt GUI
    - Call voip_calls_reset_all_taps() from VoipCallsDialog destructor so as to free allocated memory
    
    Change-Id: I46945b5d475d8c1267819021a4ed2782c531a0c6
    Reviewed-on: https://code.wireshark.org/review/11268
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    (cherry picked from commit e2203f5aed1eef900c7568b6d14f3e303e271b7c)
    Reviewed-on: https://code.wireshark.org/review/11281
    

Actions performed:

    from  f6898f2   Don't use the non-existent decoded data if decode_rtp_packet() returns 0.
    adds  693164e   Qt: fix memory leaks in VoIP calls window


Summary of changes:
 ui/qt/voip_calls_dialog.cpp |    2 ++
 ui/voip_calls.c             |   16 ++++++++--------
 2 files changed, 10 insertions(+), 8 deletions(-)