Fix memory leak
This commit is contained in:
parent
e6cbbf3661
commit
caf300aa33
|
@ -1109,6 +1109,9 @@ void C3D_RENDER_OGL_LEGACY::ogl_free_all_display_lists()
|
||||||
delete m_board;
|
delete m_board;
|
||||||
m_board = nullptr;
|
m_board = nullptr;
|
||||||
|
|
||||||
|
delete m_board_with_holes;
|
||||||
|
m_board_with_holes = nullptr;
|
||||||
|
|
||||||
delete m_anti_board;
|
delete m_anti_board;
|
||||||
m_anti_board = nullptr;
|
m_anti_board = nullptr;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue