adium/adium

Parents 82f8f5b935a4
Children ecf20cb0356c
-logContentIndex now always returns a +1 retained copy, to avoid problems with other threads requesting it while it is being closed.

Fixes #15823, refs #15984
--- a/Source/AILogViewerWindowController.m Wed Jun 20 23:24:21 2012 +0200
+++ b/Source/AILogViewerWindowController.m Thu Jun 21 01:01:39 2012 +0200
@@ -1712,6 +1712,7 @@
[currentSearchLock unlock];
if (thisSearch) CFRelease(thisSearch);
+ if (logSearchIndex) CFRelease(logSearchIndex);
}
//Search the logs, filtering out any matching logs into the currentSearchResults