don't try to delete the reference-counted WindowFramework
This commit is contained in:
parent
e331584369
commit
4f8349a5bf
|
|
@ -261,7 +261,6 @@ open_window(const WindowProperties &props, GraphicsPipe *pipe,
|
|||
GraphicsWindow *win = wf->open_window(props, &_engine, pipe, gsg);
|
||||
if (win == (GraphicsWindow *)NULL) {
|
||||
// Oops, couldn't make an actual window.
|
||||
delete wf;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue