Bug 1024196 - Fix leak of |i| variable in CreateGrGLInterfaceFromGLContext. r=gw280

This commit is contained in:
Walter Litwinczyk 2014-07-09 13:40:40 -07:00
parent 0d3f380810
commit 1e00e7544d

View File

@ -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;
}