From: Carl Hetherington Date: Fri, 10 May 2019 00:35:52 +0000 (+0100) Subject: I believe _canvas will be destroyed by its parent. X-Git-Tag: v2.15.1~5 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=7ba45cd9b7b5b04a19851bbc9b8533afe7ff1bab I believe _canvas will be destroyed by its parent. --- 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