Fixed NullReferenceException

pull/345/head
Kevin Jhang 4 years ago
parent dd4f102dae
commit ec0f2ce2a1

@ -348,6 +348,9 @@ convertCheckHandlerResultToServiceError(CheckHandlerResult controlHandlerResult)
static void
updateGenericTrackingObjectValues(MmsMapping* self, ControlObject* controlObject, IEC61850_ServiceType serviceType, IEC61850_ServiceError errVal)
{
if (controlObject == NULL)
return;
copyControlValuesToTrackingObject(self, controlObject, serviceType);
ServiceTrkInstance trkInst = NULL;

Loading…
Cancel
Save