forked from osmocom/wireshark
Qt: Fix a memory leak.
Make sure the Capture Information dialog deletes its UI data. Change-Id: I2613cfb6ca4b1a72e9fcfaad5a7792d95ab4764c Reviewed-on: https://code.wireshark.org/review/27588 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
parent
7612814769
commit
054a7e4606
|
@ -107,6 +107,7 @@ CaptureInfoDialog::CaptureInfoDialog(struct _capture_info *cap_info, struct _cap
|
|||
|
||||
CaptureInfoDialog::~CaptureInfoDialog()
|
||||
{
|
||||
delete ui;
|
||||
cap_info_->ui = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue