Преглед изворни кода

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

Pierre d'Herbemont пре 17 година
родитељ
комит
fde22e9f0e
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      Sources/VLCLibrary.m

+ 1 - 0
Sources/VLCLibrary.m

@@ -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)", 
                 libvlc_exception_get_message( ex ), file, line_number, function]
             userInfo:nil];
+        libvlc_exception_clear( ex );
         @throw libvlcException;
     }
 }