|
|
@@ -50,10 +50,12 @@ - (instancetype)initWithPath:(NSString*)aPath {
|
|
|
return self;
|
|
|
}
|
|
|
|
|
|
+#if ! __has_feature(objc_arc)
|
|
|
- (void)finalize {
|
|
|
[self close];
|
|
|
[super finalize];
|
|
|
}
|
|
|
+#endif
|
|
|
|
|
|
- (void)dealloc {
|
|
|
[self close];
|
|
|
@@ -1461,10 +1463,12 @@ @implementation FMStatement
|
|
|
@synthesize useCount=_useCount;
|
|
|
@synthesize inUse=_inUse;
|
|
|
|
|
|
+#if ! __has_feature(objc_arc)
|
|
|
- (void)finalize {
|
|
|
[self close];
|
|
|
[super finalize];
|
|
|
}
|
|
|
+#endif
|
|
|
|
|
|
- (void)dealloc {
|
|
|
[self close];
|