diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-10-26 23:03:29 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-10-26 23:03:29 +0000 |
commit | 03af2b453ec8efc99e3c67e83115a143ffeea1ab (patch) | |
tree | c989725aa1426fdeabeef9cdd983a4fac6a8c627 /Source/SPTableContent.m | |
parent | 0659393f31137f9cf512889d94cdb1286d78e912 (diff) | |
download | sequelpro-03af2b453ec8efc99e3c67e83115a143ffeea1ab.tar.gz sequelpro-03af2b453ec8efc99e3c67e83115a143ffeea1ab.tar.bz2 sequelpro-03af2b453ec8efc99e3c67e83115a143ffeea1ab.zip |
• removed memory leak
Diffstat (limited to 'Source/SPTableContent.m')
-rw-r--r-- | Source/SPTableContent.m | 2 |
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]; |