Check if initializer callback is not NULL

pull/426/head
Alireza Mohammadi 3 years ago committed by GitHub
parent 9b977e2e4f
commit cfdd6895f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -535,7 +535,7 @@ IedServer_createWithConfig(IedModel* dataModel, TLSConfiguration tlsConfiguratio
createMmsServerCache(self);
dataModel->initializer();
if (dataModel->initializer) dataModel->initializer();
installDefaultValuesInCache(self); /* This will also connect cached MmsValues to DataAttributes */

Loading…
Cancel
Save