[vlc-commits] macosx: Avoid potential double release for input item

David Fuhrmann git at videolan.org
Sun Oct 11 18:45:40 CEST 2020


vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Wed Sep  9 14:36:51 2020 +0200| [fc30a217187b690d9953f4d270fae888bc9ca918] | committer: David Fuhrmann

macosx: Avoid potential double release for input item

The item count is not retained for that variable

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=fc30a217187b690d9953f4d270fae888bc9ca918
---

 modules/gui/macosx/VLCBookmarksWindowController.m | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/gui/macosx/VLCBookmarksWindowController.m b/modules/gui/macosx/VLCBookmarksWindowController.m
index 55c9cb34aa..16ff42a5ea 100644
--- a/modules/gui/macosx/VLCBookmarksWindowController.m
+++ b/modules/gui/macosx/VLCBookmarksWindowController.m
@@ -58,9 +58,6 @@
 
 - (void)dealloc
 {
-    if (p_old_input)
-        vlc_object_release(p_old_input);
-
     [[NSNotificationCenter defaultCenter] removeObserver:self];
 }
 



More information about the vlc-commits mailing list