aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableSource.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/TableSource.m')
-rw-r--r--Source/TableSource.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/TableSource.m b/Source/TableSource.m
index 7c5f6ab4..c5e2a4b8 100644
--- a/Source/TableSource.m
+++ b/Source/TableSource.m
@@ -118,6 +118,7 @@ loads aTable, put it in an array, update the tableViewColumns and reload the tab
nil, nil, [NSApp mainWindow], self, nil, nil, nil,
[NSString stringWithFormat:NSLocalizedString(@"An error occurred while retrieving information.\nMySQL said: %@", @"message of panel when retrieving information failed"),
errorMessage]);
+ if (tableSourceResult) [tableSourceResult release];
return;
}
@@ -148,7 +149,7 @@ loads aTable, put it in an array, update the tableViewColumns and reload the tab
nil, nil, [NSApp mainWindow], self, nil, nil, nil,
[NSString stringWithFormat:NSLocalizedString(@"An error occurred while retrieving information.\nMySQL said: %@", @"message of panel when retrieving information failed"),
errorMessage]);
-
+ if (indexResult) [indexResult release];
return;
}
[indexResult setReturnDataAsStrings:YES];