Commit 210bdda1 authored by Felix Paul Kühne's avatar Felix Paul Kühne

eyetv: drop legacy NSAutoreleasePool pattern

parent 4126a32c
......@@ -86,8 +86,8 @@ static int Control(access_t *, int, va_list);
static void selectChannel(vlc_object_t *p_this, int theChannelNum)
{
@autoreleasepool {
NSAppleScript *script;
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
switch(theChannelNum) {
case -2: // Composite
script = [[NSAppleScript alloc] initWithSource:
......@@ -136,7 +136,7 @@ static void selectChannel(vlc_object_t *p_this, int theChannelNum)
msg_Err(p_this, "EyeTV source change failed with error status '%s'", [errorString UTF8String]);
}
[script release];
[pool release];
}
}
/*****************************************************************************
......
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