aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/FLXPostgresTypeHandler.m
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresTypeHandler.m')
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresTypeHandler.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresTypeHandler.m b/Frameworks/PostgresKit/Source/FLXPostgresTypeHandler.m
index a7b98909..41903d91 100644
--- a/Frameworks/PostgresKit/Source/FLXPostgresTypeHandler.m
+++ b/Frameworks/PostgresKit/Source/FLXPostgresTypeHandler.m
@@ -30,6 +30,7 @@
- (id)initWithConnection:(FLXPostgresConnection *)connection
{
if ((self = [super init])) {
+ _type = -1;
_result = nil;
_connection = [connection retain];
}
@@ -41,6 +42,8 @@
- (void)dealloc
{
+ _result = nil;
+
if (_connection) [_connection release], _connection = nil;
[super dealloc];