@ -1692,6 +1692,6 @@ void
IedServer_setGooseInterfaceId(IedServer self, const char* interfaceId)
{
#if (CONFIG_INCLUDE_GOOSE_SUPPORT == 1)
self->mmsMapping->gooseInterfaceId = interfaceId;
self->mmsMapping->gooseInterfaceId = StringUtils_copyString(interfaceId);
#endif
}
@ -2014,6 +2014,7 @@ MmsMapping_destroy(MmsMapping* self)
LinkedList_destroyDeep(self->gseControls, (LinkedListValueDeleteFunction) MmsGooseControlBlock_destroy);
if (self->gooseInterfaceId) GLOBAL_FREEMEM(self->gooseInterfaceId);
#if (CONFIG_IEC61850_SAMPLED_VALUES_SUPPORT == 1)