From 99112febcae9ecda0595135175590ae778d76fcc Mon Sep 17 00:00:00 2001 From: Dave DeLong Date: Fri, 11 Mar 2011 23:01:34 -0800 Subject: [PATCH] invoke [super finalize] --- src/FMDatabase.m | 2 ++ src/FMResultSet.m | 1 + 2 files changed, 3 insertions(+) diff --git a/src/FMDatabase.m b/src/FMDatabase.m index 72813c6d..3480a819 100644 --- a/src/FMDatabase.m +++ b/src/FMDatabase.m @@ -23,6 +23,7 @@ - (id)initWithPath:(NSString*)aPath { - (void)finalize { [self close]; + [super finalize]; } - (void)dealloc { @@ -728,6 +729,7 @@ @implementation FMStatement - (void)finalize { [self close]; + [super finalize]; } - (void)dealloc { diff --git a/src/FMResultSet.m b/src/FMResultSet.m index 9a3aa5da..d0cdfc28 100644 --- a/src/FMResultSet.m +++ b/src/FMResultSet.m @@ -21,6 +21,7 @@ + (id)resultSetWithStatement:(FMStatement *)statement usingParentDatabase:(FMDat - (void)finalize { [self close]; + [super finalize]; } - (void)dealloc {