fix bug in pvaClientNTMultiData that can cause a crash

This commit is contained in:
mrkraimer
2017-11-21 05:25:51 -05:00
parent 3e9645c883
commit 0fb4612680

View File

@@ -145,7 +145,7 @@ void PvaClientNTMultiData::endDeltaTime()
PVStructurePtr pvst = topPVStructure[i];
if(!pvst) {
unionValue[i] = PVUnionPtr();
} else {
} else if(unionValue[i]) {
unionValue[i]->set(pvst->getSubField("value"));
if(gotAlarm)
{