Fix for dbCa warning seg-fault

Don't queue an errlog message containing a pointer to a string
that will disappear soon.

Thanks to Matt Pearson for the bug analysis.
This commit is contained in:
Andrew Johnson
2017-04-24 18:03:53 -05:00
parent e25a2964bc
commit c5decfbd12

View File

@@ -142,7 +142,6 @@ static void addAction(caLink *pca, short link_action)
if (++removesOutstanding >= removesOutstandingWarning) {
errlogPrintf("dbCa::addAction pausing, %d channels to clear\n",
removesOutstanding);
printLinks(pca);
}
while (removesOutstanding >= removesOutstandingWarning) {
epicsMutexUnlock(workListLock);