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

MacOSX/Framework/VLCLibrary.m: Fix an exception leak.

parent 978372f4
...@@ -40,6 +40,7 @@ void __catch_exception( void * e, const char * function, const char * file, int ...@@ -40,6 +40,7 @@ void __catch_exception( void * e, const char * function, const char * file, int
reason:[NSString stringWithFormat:@"libvlc has thrown us an error: %s (%s:%d %s)", reason:[NSString stringWithFormat:@"libvlc has thrown us an error: %s (%s:%d %s)",
libvlc_exception_get_message( ex ), file, line_number, function] libvlc_exception_get_message( ex ), file, line_number, function]
userInfo:nil]; userInfo:nil];
libvlc_exception_clear( ex );
@throw libvlcException; @throw libvlcException;
} }
} }
......
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