Commit 6554024a authored by Pierre d'Herbemont's avatar Pierre d'Herbemont Committed by Derk-Jan Hartman

mp4: Fix a leak.

Spotted by LLVM/Clang Static Analyzer.
(cherry picked from commit e903b2ff)
parent d2c3e277
...@@ -2032,6 +2032,7 @@ static int GetiPodID( int64_t *p_ipod_id ) ...@@ -2032,6 +2032,7 @@ static int GetiPodID( int64_t *p_ipod_id )
IOObjectRelease( iterator ); IOObjectRelease( iterator );
} }
CFRelease( match_dic );
} }
mach_port_deallocate( mach_task_self(), port ); mach_port_deallocate( mach_task_self(), port );
......
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