osxvideo: Fix leak of NSOpenGLPixelFormat object
https://bugzilla.gnome.org/show_bug.cgi?id=667818
This commit is contained in:
parent
150403ab13
commit
ffe010ee4d
@ -128,6 +128,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
self = [super initWithFrame: frame pixelFormat:fmt];
|
self = [super initWithFrame: frame pixelFormat:fmt];
|
||||||
|
[fmt release];
|
||||||
|
|
||||||
actualContext = [self openGLContext];
|
actualContext = [self openGLContext];
|
||||||
[actualContext makeCurrentContext];
|
[actualContext makeCurrentContext];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user