aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-10-26 23:03:29 +0000
committerBibiko <bibiko@eva.mpg.de>2010-10-26 23:03:29 +0000
commit03af2b453ec8efc99e3c67e83115a143ffeea1ab (patch)
treec989725aa1426fdeabeef9cdd983a4fac6a8c627 /Source
parent0659393f31137f9cf512889d94cdb1286d78e912 (diff)
downloadsequelpro-03af2b453ec8efc99e3c67e83115a143ffeea1ab.tar.gz
sequelpro-03af2b453ec8efc99e3c67e83115a143ffeea1ab.tar.bz2
sequelpro-03af2b453ec8efc99e3c67e83115a143ffeea1ab.zip
• removed memory leak
Diffstat (limited to 'Source')
-rw-r--r--Source/SPTableContent.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index c1c28c61..a4cc0b74 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -2294,10 +2294,10 @@
[tip replaceOccurrencesOfRegex:@"(?<!\\\\)\\$CURRENT_FIELD" withString:[[fieldField titleOfSelectedItem] backtickQuotedString]];
[tip flushCachedRegexData];
[item setToolTip:tip];
- [tip release];
} else {
[item setToolTip:@""];
}
+ [tip release];
}
[item setTag:i];
[menu addItem:item];