Skip to content

Commit

Permalink
invoke [super finalize]
Browse files Browse the repository at this point in the history
  • Loading branch information
davedelong committed Mar 12, 2011
1 parent f457ee9 commit 99112fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/FMDatabase.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ - (id)initWithPath:(NSString*)aPath {

- (void)finalize {
[self close];
[super finalize];
}

- (void)dealloc {
Expand Down Expand Up @@ -728,6 +729,7 @@ @implementation FMStatement

- (void)finalize {
[self close];
[super finalize];
}

- (void)dealloc {
Expand Down
1 change: 1 addition & 0 deletions src/FMResultSet.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ + (id)resultSetWithStatement:(FMStatement *)statement usingParentDatabase:(FMDat

- (void)finalize {
[self close];
[super finalize];
}

- (void)dealloc {
Expand Down

0 comments on commit 99112fe

Please sign in to comment.