Merge pull request #47 from mrkraimer/master

fix bug in pvaClientNTMultiData that can cause a crash
This commit is contained in:
Marty Kraimer
2017-11-21 05:58:47 -05:00
committed by GitHub

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)
{