ソースを参照

VLCEventManager: avoid leaks on continue

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Gleb Pinigin 12 年 前
コミット
93b20621ef
1 ファイル変更2 行追加0 行削除
  1. 2 0
      Sources/VLCEventManager.m

+ 2 - 0
Sources/VLCEventManager.m

@@ -112,6 +112,8 @@ static void * EventDispatcherMainLoop(void * user_data)
             if (last_match_msg >= 0) {
                 // newer notification detected, ignore current one
                 [message->u.name release];
+                [dataMessage release];
+                [pool release];
                 pthread_mutex_unlock([self queueLock]);
                 continue;
             }