[vlc-commits] macosx: PLItems parent should be weak to avoid retain cycles

David Fuhrmann git at videolan.org
Wed Jul 15 19:30:20 CEST 2015


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | 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;
- at property(readwrite, retain) PLItem *parent;
+ at property(readwrite, weak) PLItem *parent;
 
 - (id)initWithPlaylistItem:(playlist_item_t *)p_item;
 



More information about the vlc-commits mailing list