BathyScapheのSQLiteデータベース内を覗くアプリ
Révision | 95dc27ae292cce6b25900a433baea5f0b8cad0e9 (tree) |
---|---|
l'heure | 2008-07-06 11:32:53 |
Auteur | masakih <masakih@user...> |
Commiter | masakih |
不要ではあるが、とりあえず-(void)deallocを実装した。
git-svn-id: svn+ssh://macmini/usr/local/svnrepos/BSDBViewer/BSDBViewer@14 477addb1-df5c-4826-a637-c2b1bdcd60d4
@@ -4,6 +4,13 @@ | ||
4 | 4 | |
5 | 5 | @implementation BSDBBoardSource |
6 | 6 | |
7 | +- (void)dealloc | |
8 | +{ | |
9 | + [boards release]; | |
10 | + | |
11 | + [super dealloc]; | |
12 | +} | |
13 | + | |
7 | 14 | - (void)setDelegate:(id)newDelegate |
8 | 15 | { |
9 | 16 | if(delegate == newDelegate) return; |
@@ -4,6 +4,14 @@ | ||
4 | 4 | |
5 | 5 | @implementation BSDBThreadSource |
6 | 6 | |
7 | +- (void)dealloc | |
8 | +{ | |
9 | + [threads release]; | |
10 | + [boardID release]; | |
11 | + | |
12 | + [super dealloc]; | |
13 | +} | |
14 | + | |
7 | 15 | - (void)setDelegate:(id)newDelegate |
8 | 16 | { |
9 | 17 | if(delegate == newDelegate) return; |
@@ -7,9 +7,15 @@ | ||
7 | 7 | @implementation BSDBViewer |
8 | 8 | |
9 | 9 | static NSString *const BSDBViewerSQLiteDBKey = @"BSDBViewerSQLiteDBKey"; |
10 | - | |
11 | 10 | static NSString *const InProgressKey = @"inProgress"; |
12 | 11 | |
12 | +- (void)dealloc | |
13 | +{ | |
14 | + [boardNameCache release]; | |
15 | + | |
16 | + [super dealloc]; | |
17 | +} | |
18 | + | |
13 | 19 | NSString *resolveAlias(NSString *path) |
14 | 20 | { |
15 | 21 | NSString *newPath = nil; |