Commit fccad17d authored by Pierre d'Herbemont's avatar Pierre d'Herbemont
Browse files

Mac OS X gui: Don't leak the autoreleased object.

parent e3223c2d
......@@ -169,10 +169,14 @@ int E_(OpenVideoGL) ( vlc_object_t * p_this )
NSAutoreleasePool *o_pool = [[NSAutoreleasePool alloc] init];
p_vout->p_sys->b_embedded = VLC_FALSE;
[VLCGLView performSelectorOnMainThread:@selector(initVout:) withObject:[NSValue valueWithPointer:p_vout] waitUntilDone:YES];
[o_pool release];
/* Check to see if fillVoutWithNewView: was successfull */
if( !p_vout->p_sys->o_vout_view )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment