diff options
author | rowanbeentje <rowan@beent.je> | 2010-02-10 01:32:05 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-02-10 01:32:05 +0000 |
commit | 13805614e6ed2131827bfa6c668b50a1b30da1e5 (patch) | |
tree | 8142178495af47518a2d693950d8623eec2ff2b5 /Source/SPContentFilterManager.m | |
parent | d0fb716108641d3a8c197ef12041bf46b14e7294 (diff) | |
download | sequelpro-13805614e6ed2131827bfa6c668b50a1b30da1e5.tar.gz sequelpro-13805614e6ed2131827bfa6c668b50a1b30da1e5.tar.bz2 sequelpro-13805614e6ed2131827bfa6c668b50a1b30da1e5.zip |
Fix a number of memory leaks, and over-releases, as both a result of manual inspection of leaks and Clang static analysis.
Diffstat (limited to 'Source/SPContentFilterManager.m')
-rw-r--r-- | Source/SPContentFilterManager.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPContentFilterManager.m b/Source/SPContentFilterManager.m index 34a3b214..8e3fa5fe 100644 --- a/Source/SPContentFilterManager.m +++ b/Source/SPContentFilterManager.m @@ -792,6 +792,7 @@ // } [contentFilterArrayController rearrangeObjects]; [contentFilterTableView reloadData]; + [spf release]; } else { NSAlert *alert = [NSAlert alertWithMessageText:[NSString stringWithFormat:NSLocalizedString(@"Error while reading data file", @"error while reading data file")] defaultButton:NSLocalizedString(@"OK", @"OK button") @@ -801,6 +802,7 @@ [alert setAlertStyle:NSInformationalAlertStyle]; [alert runModal]; + [spf release]; return; } } |