mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1024196 - Fix leak of |i| variable in CreateGrGLInterfaceFromGLContext. r=gw280
This commit is contained in:
parent
0d3f380810
commit
1e00e7544d
@ -778,6 +778,7 @@ static GrGLInterface* CreateGrGLInterfaceFromGLContext(GLContext* context)
|
||||
|
||||
GrGLExtensions extensions;
|
||||
if (!extensions.init(i->fStandard, glGetString_mozilla, NULL, glGetIntegerv_mozilla)) {
|
||||
delete i;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user