diff options
author | Tom Rondeau | 2010-05-02 15:00:02 -0400 |
---|---|---|
committer | Tom Rondeau | 2010-05-02 15:00:02 -0400 |
commit | 7488244b24a52e6b1a51bcbdb0077e70554c6731 (patch) | |
tree | 79b9c649fbc472ff0c08b0a498a740c06ef729ea /gr-qtgui/src/lib/qtgui_sink_c.cc | |
parent | e0df16cf6f62dd0745530955481df8c3eecc9cb2 (diff) | |
download | gnuradio-7488244b24a52e6b1a51bcbdb0077e70554c6731.tar.gz gnuradio-7488244b24a52e6b1a51bcbdb0077e70554c6731.tar.bz2 gnuradio-7488244b24a52e6b1a51bcbdb0077e70554c6731.zip |
Fixes segfault on close. Using the right objective (d_main_gui) instead of d_object to delete all of the plotting widgets. As far as Valgrind tells me, this cleans up my memory leaks although libqt and libqwt still have some of their own.
This checkin also disables the Waterfall3D plotting. It wasn't working anyway, but was also causing its own segfault upon deletion. Once it's working and deleting nicely, it will be re-enabled.
Diffstat (limited to 'gr-qtgui/src/lib/qtgui_sink_c.cc')
-rw-r--r-- | gr-qtgui/src/lib/qtgui_sink_c.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-qtgui/src/lib/qtgui_sink_c.cc b/gr-qtgui/src/lib/qtgui_sink_c.cc index fefa98704..a148cf501 100644 --- a/gr-qtgui/src/lib/qtgui_sink_c.cc +++ b/gr-qtgui/src/lib/qtgui_sink_c.cc @@ -88,7 +88,7 @@ qtgui_sink_c::qtgui_sink_c (int fftsize, int wintype, qtgui_sink_c::~qtgui_sink_c() { - delete d_object; + delete d_main_gui; delete [] d_residbuf; delete d_fft; } |