Commits

Tuukka Norri committed 7224e7f

Checked metadata classes' dealloc methods
- Fixed some memory issues.
- Didn't fix for PGTSForeignKeyDescription, because it isn't currently in use.

  • Participants
  • Parent commits e26314f
  • Branches PGTS-NG

Comments (0)

Files changed (3)

Sources/PGTSFieldDescription.m

     return self;
 }
 
+- (void) dealloc
+{
+	[mDefaultValue release];
+	[super dealloc];
+}
+
 #if 0
 - (NSString *) description
 {

Sources/PGTSForeignKeyDescription.m

 
 @implementation PGTSForeignKeyDescription
 
+//FIXME: dealloc is missing.
+
 - (NSArray *) sourceFields
 {
     return mSourceFields;

Sources/PGTSTableDescription.m

 {
 	[mFields release];
 	[mUniqueIndexes release];
+	[mForeignKeys release];
+	[mReferencingForeignKeys release];
+	[mRelationOidsBasedOn release];
 	[super dealloc];
 }
 
     [mFields release];
 	[mFieldIndexes release];
     [mUniqueIndexes release];
-    [mSchemaName release];
     [mForeignKeys release];
     [mReferencingForeignKeys release];
     [mRelationOidsBasedOn release];