diff options
author | Volker Schroer <3470424+dl1ksv@users.noreply.github.com> | 2021-05-28 22:54:28 +0200 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-06-01 07:21:38 -0400 |
commit | ac9eb756cc1d9dd414dbd166a99f1488f14385f2 (patch) | |
tree | b6f52c050ed6865ec519416c946ca3eebe083171 | |
parent | 4d306e1f98eb60cf62ca8f0aa59e3939e7826e84 (diff) |
gr-qtgui: fix invalid pointer
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
-rw-r--r-- | gr-qtgui/lib/edit_box_msg_impl.cc | 1 | ||||
-rw-r--r-- | gr-qtgui/lib/number_sink_impl.cc | 8 |
2 files changed, 1 insertions, 8 deletions
diff --git a/gr-qtgui/lib/edit_box_msg_impl.cc b/gr-qtgui/lib/edit_box_msg_impl.cc index 19e66aceb7..43edf15821 100644 --- a/gr-qtgui/lib/edit_box_msg_impl.cc +++ b/gr-qtgui/lib/edit_box_msg_impl.cc @@ -146,7 +146,6 @@ edit_box_msg_impl::edit_box_msg_impl(data_type_t type, edit_box_msg_impl::~edit_box_msg_impl() { - delete d_argv; delete d_group; delete d_hlayout; delete d_vlayout; diff --git a/gr-qtgui/lib/number_sink_impl.cc b/gr-qtgui/lib/number_sink_impl.cc index 93ea4979f1..2a50ab51c2 100644 --- a/gr-qtgui/lib/number_sink_impl.cc +++ b/gr-qtgui/lib/number_sink_impl.cc @@ -67,13 +67,7 @@ number_sink_impl::number_sink_impl( initialize(); } -number_sink_impl::~number_sink_impl() -{ - // if(!d_main_gui->isClosed()) - // d_main_gui->close(); - - delete d_argv; -} +number_sink_impl::~number_sink_impl() {} bool number_sink_impl::check_topology(int ninputs, int noutputs) { |