Commit eb613c15 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fix hypothetical aout leak

parent 44d273e0
...@@ -730,8 +730,10 @@ static VLCMainMenu *_o_sharedInstance = nil; ...@@ -730,8 +730,10 @@ static VLCMainMenu *_o_sharedInstance = nil;
return; return;
int n = aout_DevicesList(p_aout, &ids, &names); int n = aout_DevicesList(p_aout, &ids, &names);
if (n == -1) if (n == -1) {
vlc_object_release(p_aout);
return; return;
}
currentDevice = aout_DeviceGet(p_aout); currentDevice = aout_DeviceGet(p_aout);
NSMenuItem * o_mi_tmp; NSMenuItem * o_mi_tmp;
......
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