vlc | branch: master | David Fuhrmann <[email protected]> | Wed Jul 15 
19:24:41 2015 +0200| [1ca35e8e31f1707b8eb3afde6e955c86d11bc499] | committer: 
David Fuhrmann

macosx: PLItems parent should be weak to avoid retain cycles

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

 modules/gui/macosx/PLItem.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/PLItem.h b/modules/gui/macosx/PLItem.h
index 7f05459..3491599 100644
--- a/modules/gui/macosx/PLItem.h
+++ b/modules/gui/macosx/PLItem.h
@@ -28,7 +28,7 @@
 @property(readonly, copy) NSMutableArray *children;
 @property(readonly) int plItemId;
 @property(readonly) input_item_t *input;
-@property(readwrite, retain) PLItem *parent;
+@property(readwrite, weak) PLItem *parent;
 
 - (id)initWithPlaylistItem:(playlist_item_t *)p_item;
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to