# HG changeset patch # User nplourde # Date 1120081798 0 # Node ID df539b2f5f4ff0d46b950591f9070ce77c0bea64 # Parent 6e994905f77bf2f60339be640893ed8d12cc12ac crash on autorelease, do not add to pool diff -r 6e994905f77b -r df539b2f5f4f libvo/vo_macosx.m --- a/libvo/vo_macosx.m Wed Jun 29 18:17:19 2005 +0000 +++ b/libvo/vo_macosx.m Wed Jun 29 21:49:58 2005 +0000 @@ -281,7 +281,6 @@ styleMask:NSTitledWindowMask|NSTexturedBackgroundWindowMask|NSClosableWindowMask|NSMiniaturizableWindowMask|NSResizableWindowMask backing:NSBackingStoreBuffered defer:NO]; - [window autorelease]; [window setDelegate:mpGLView]; [window setContentView:mpGLView]; [window setInitialFirstResponder:mpGLView]; @@ -308,7 +307,6 @@ //create OpenGL Context glContext = [[NSOpenGLContext alloc] initWithFormat:[NSOpenGLView defaultPixelFormat] shareContext:nil]; - [glContext autorelease]; [self setOpenGLContext:glContext]; [glContext setValues:&swapInterval forParameter:NSOpenGLCPSwapInterval];