adium/adium
Clone
Summary
Browse
Changes
Graph
Forgot to also commit this file in b54f715ec8a7.
adium-1.5.2
2012-06-21, Thijs Alkemade
ecf20cb0356c
Parents
b54f715ec8a7
Children
b0fba8081476
Forgot to also commit this file in b54f715ec8a7.
Refs #15823, refs #15984
1 files changed, 4 insertions(+), 3 deletions(-)
+4
-3
Source/AILoggerPlugin.m
--- a/Source/AILoggerPlugin.m Thu Jun 21 01:01:39 2012 +0200
+++ b/Source/AILoggerPlugin.m Thu Jun 21 01:03:37 2012 +0200
@@ -401,7 +401,7 @@
if(reindex)
[bself _resetLogIndex];
- [bself logContentIndex];
+ [bself copyLogContentIndex];
if (!userTriggeredReindex) {
if (reindex)
[bself _dirtyAllLogs];
@@ -483,6 +483,7 @@
}
bself->logIndex = _index;
}
+ if (logIndex) CFRetain(logIndex);
}));
return logIndex;
}
@@ -531,6 +532,8 @@
CFRelease(document);
}
}
+
+ CFRelease(logSearchIndex);
}));
}
@@ -1440,8 +1443,6 @@
return;
}
- CFRetain(searchIndex);
-
// logsIndexed = 0;
OSAtomicCompareAndSwap64Barrier(logsIndexed, 0, (int64_t*)&logsIndexed);