forked from osmocom/wireshark
Qt: fix a memory leak when exporting packets
Change-Id: I3c99ca838b3def4437ba92794881630b8cdd8cbd Reviewed-on: https://code.wireshark.org/review/23472 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
55dcb64558
commit
38b40acb2d
|
@ -37,6 +37,7 @@ PacketRangeGroupBox::PacketRangeGroupBox(QWidget *parent) :
|
|||
|
||||
PacketRangeGroupBox::~PacketRangeGroupBox()
|
||||
{
|
||||
wmem_free(NULL, range_->user_range);
|
||||
delete pr_ui_;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue