From 7ba45cd9b7b5b04a19851bbc9b8533afe7ff1bab Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 10 May 2019 01:35:52 +0100 Subject: [PATCH] I believe _canvas will be destroyed by its parent. --- src/wx/gl_video_view.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wx/gl_video_view.cc b/src/wx/gl_video_view.cc index 0f0118e00..f75d50f9d 100644 --- a/src/wx/gl_video_view.cc +++ b/src/wx/gl_video_view.cc @@ -53,8 +53,6 @@ GLVideoView::~GLVideoView () { glDeleteTextures (1, &_id); delete _context; - /* XXX: should we delete this? */ - delete _canvas; } static void -- 2.30.2