]> git.sesse.net Git - vlc/commitdiff
mp4: Fix a leak.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 27 Sep 2008 17:41:56 +0000 (19:41 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 27 Sep 2008 17:41:56 +0000 (19:41 +0200)
Spotted by LLVM/Clang Static Analyzer.

modules/demux/mp4/drms.c

index bb0fa476c8dc62f29c5ed34dbbe471b116458a8b..aa0b561f5f6b594f9194a2e4451d0b8d125f3169 100644 (file)
@@ -2032,6 +2032,7 @@ static int GetiPodID( int64_t *p_ipod_id )
 
                 IOObjectRelease( iterator );
             }
+            CFRelease( match_dic );
         }
 
         mach_port_deallocate( mach_task_self(), port );