client.h monitor missing NULL test

This commit is contained in:
Michael Davidsaver
2018-12-08 17:49:29 -08:00
parent eb8be48807
commit 81af0d72e8

View File

@ -207,7 +207,7 @@ bool Monitor::poll()
if(!impl) return false;
Guard G(impl->mutex);
if(!impl->done && impl->op && impl->last.next()) {
if(!impl->done && impl->op && impl->last && impl->last.next()) {
const epics::pvData::PVStructurePtr& ptr = impl->last->pvStructurePtr;
changed = *impl->last->changedBitSet;
overrun = *impl->last->overrunBitSet;