summaryrefslogtreecommitdiff
path: root/gr-wxgui/src
diff options
context:
space:
mode:
Diffstat (limited to 'gr-wxgui/src')
-rwxr-xr-xgr-wxgui/src/python/waterfallsink2.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gr-wxgui/src/python/waterfallsink2.py b/gr-wxgui/src/python/waterfallsink2.py
index 1c5576e1a..fb91d26e0 100755
--- a/gr-wxgui/src/python/waterfallsink2.py
+++ b/gr-wxgui/src/python/waterfallsink2.py
@@ -307,6 +307,7 @@ class waterfall_window (wx.Panel):
dc1.SetPen(self.pens[value])
dc1.DrawRectangle(x_pos*p_width, 0, p_width, 2)
+ del dc1
self.DoDrawing (None)
def on_average(self, evt):