mirror of
https://code.videolan.org/videolan/vlc
synced 2024-08-18 23:45:06 +02:00
macosx: remove useless hold/release
The menu item already has a reference.
This commit is contained in:
parent
13818435c5
commit
9451397635
@ -1580,7 +1580,6 @@
|
||||
|
||||
p_object = [menuContent vlcObject];
|
||||
var_Set(p_object, [menuContent name], [menuContent value]);
|
||||
vlc_object_release(p_object);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@ -1757,7 +1756,7 @@
|
||||
|
||||
- (vlc_object_t *)vlcObject
|
||||
{
|
||||
return vlc_object_hold(vlc_object);
|
||||
return vlc_object;
|
||||
}
|
||||
|
||||
- (int)type
|
||||
|
Loading…
Reference in New Issue
Block a user