Qt: fix memory leaks in VoIP calls window
authorPascal Quantin <pascal.quantin@gmail.com>
Sun, 25 Oct 2015 18:24:06 +0000 (19:24 +0100)
committerPascal Quantin <pascal.quantin@gmail.com>
Mon, 26 Oct 2015 11:06:51 +0000 (11:06 +0000)
commite2203f5aed1eef900c7568b6d14f3e303e271b7c
treeacdb69aa22bab5ee178d3713d2cbfcf82557f0bb
parent5dffa81e8cc45dfefb974768e90533097ecee996
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@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
ui/qt/voip_calls_dialog.cpp
ui/voip_calls.c