Fix memory leak

This commit is contained in:
Dominik Wernberger 2020-12-24 14:27:56 +01:00 committed by Jon Evans
parent e6cbbf3661
commit caf300aa33
1 changed files with 3 additions and 0 deletions

View File

@ -1109,6 +1109,9 @@ void C3D_RENDER_OGL_LEGACY::ogl_free_all_display_lists()
delete m_board;
m_board = nullptr;
delete m_board_with_holes;
m_board_with_holes = nullptr;
delete m_anti_board;
m_anti_board = nullptr;