Commit 4914912b authored by Andrey Utkin's avatar Andrey Utkin Committed by Felix Paul Kühne

macosx: fix crash by dis-ambiguating var names

 .../macosx/framework/Sources/VLCEventManager.m     |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent f83fe2ff
......@@ -227,9 +227,9 @@ static void * EventDispatcherMainLoop(void * user_data)
if( [NSThread isMainThread] )
{
NSData *message = [NSData dataWithBytes:&message length:sizeof(message_t)];
[self addMessageToHandleOnMainThread:message];
[self callDelegateOfObjectAndSendNotificationWithArgs:[message retain] /* released in the call */];
NSData *nsd_message = [NSData dataWithBytes:&message length:sizeof(message_t)];
[self addMessageToHandleOnMainThread:nsd_message];
[self callDelegateOfObjectAndSendNotificationWithArgs:[nsd_message retain] /* released in the call */];
}
else
{
......
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