[eyetunes commit] r270 - EyeTunes/trunk

0 views
Skip to first unread message

codesite...@google.com

unread,
Nov 14, 2008, 11:55:32 AM11/14/08
to eyet...@googlegroups.com
Author: ruotger...@berlin.de
Date: Fri Nov 14 08:54:39 2008
New Revision: 270

Modified:
EyeTunes/trunk/ETPlaylist.m
EyeTunes/trunk/ETPlaylistCache.m

Log:
added two dealloc methods (clang static analyzer)

Modified: EyeTunes/trunk/ETPlaylist.m
==============================================================================
--- EyeTunes/trunk/ETPlaylist.m (original)
+++ EyeTunes/trunk/ETPlaylist.m Fri Nov 14 08:54:39 2008
@@ -59,6 +59,13 @@
return self;
}

+- (void) dealloc
+{
+ [childPlaylistIds release];
+
+ [super dealloc];
+}
+
- (NSString *)name
{
if ([self persistentId] == kETSpecialPlaylistRoot)

Modified: EyeTunes/trunk/ETPlaylistCache.m
==============================================================================
--- EyeTunes/trunk/ETPlaylistCache.m (original)
+++ EyeTunes/trunk/ETPlaylistCache.m Fri Nov 14 08:54:39 2008
@@ -39,10 +39,14 @@
}


-- (void) addChildrenToEnumeratedPlaylists:(NSEnumerator*)en
+// as a singleton we are never dealloced but the clang statc analyzer
doesn't know this
+- (void) dealloc
{
+ [playlists release];
+ [userPlaylists release];
+
+ [super dealloc];
}
-

- (void) reload;
{

Reply all
Reply to author
Forward
0 new messages