Project: libiec61850 (mz-automation/libiec61850), language: c++
Vulnerability instance: libiec61850.cve-2019-6135
Sanitizer: address

================= Bug Report (1/2) ==================
## Source: GitHub Issue
## URL: https://github.com/mz-automation/libiec61850/issues/103
## Description:
Issue: mz-automation/libiec61850#103
Title: Memory leaks in mms_mapping.c & mms_value.c
State: closed
Created by: RootUp
Created at: 2019-01-11 10:26:24+00:00

Issue Body:
Hi team, 

Their are multiple memory leaks in `mms_mapping.c` and `mms_value.c`

Snip **[mms_value.c](https://github.com/mz-automation/libiec61850/blob/v1.3/src/mms/iso_mms/common/mms_value.c#L1583-L1600)**
```
    self->value.visibleString.buf = (char*) GLOBAL_MALLOC(size + 1);

    if (self->value.visibleString.buf == NULL) {
        GLOBAL_FREEMEM(self);
        self = NULL;
        goto exit_function;
    }

    self->value.visibleString.buf[0] = 0;

    exit_function:
    return self;
}

MmsValue*
MmsValue_newVisibleStringWithSize(int size)
{
return MmsValue_newStringWithSize(size, MMS_VISIBLE_STRING);
```

Snip **[mms_mapping.c](https://github.com/mz-automation/libiec61850/blob/v1.3/src/iec61850/server/mms_mapping/mms_mapping.c#L1193-L1215)**
```
        domain->namedVariables[i] = createNamedVariableFromLogicalNode(self,
                domain, logicalNode);

        logicalNode = (LogicalNode*) logicalNode->sibling;
        i++;
    }

exit_function:
    return domain;
}

static void
createMmsDataModel(MmsMapping* self, int iedDeviceCount,
        MmsDevice* mmsDevice, IedModel* iedModel)
{
    mmsDevice->domains = (MmsDomain**) GLOBAL_MALLOC((iedDeviceCount) * sizeof(MmsDomain*));
    mmsDevice->domainCount = iedDeviceCount;

    LogicalDevice* logicalDevice = iedModel->firstChild;

    int i = 0;
    while (logicalDevice != NULL) {
mmsDevice->domains[i] = createMmsDomainFromIedDevice(self,
```
## Memory leaks
```
=================================================================
==23314==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 260 byte(s) in 2 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ff7390d in MmsValue_newStringWithSize /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1583
    #3 0x55f21ff73a80 in MmsValue_newVisibleStringWithSize /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1600
    #4 0x55f21ff72d0d in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1457
    #5 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #6 0x55f21ffafcf7 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:428
    #7 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #8 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #9 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #10 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #11 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #12 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #13 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #14 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #15 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 216 byte(s) in 17 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff72045 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1386
    #3 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #4 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #5 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #6 0x55f21ff791b4 in createMmsServerCache /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:207
    #7 0x55f21ff7aa4d in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:453
    #8 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #9 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #10 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 192 byte(s) in 16 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff72045 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1386
    #3 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #4 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #5 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #6 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #7 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #8 0x55f21ff791b4 in createMmsServerCache /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:207
    #9 0x55f21ff7aa4d in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:453
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 152 byte(s) in 16 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ff87b74 in createNamedVariableFromDataAttribute /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:116
    #4 0x55f21ff87fdb in createNamedVariableFromDataAttribute /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:141
    #5 0x55f21ff8a3ff in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:351
    #6 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #7 0x55f21ff8d508 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:987
    #8 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #9 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #10 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #11 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #12 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #13 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #14 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #15 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 144 byte(s) in 9 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff8d14b in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:961
    #3 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #4 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #5 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #6 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #7 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #8 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #9 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #10 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 136 byte(s) in 17 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff72045 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1386
    #3 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #4 0x55f21ff791b4 in createMmsServerCache /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:207
    #5 0x55f21ff7aa4d in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:453
    #6 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #7 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #8 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 128 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff8a224 in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:339
    #3 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #4 0x55f21ff8d27d in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:969
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 128 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff87e91 in createNamedVariableFromDataAttribute /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:133
    #3 0x55f21ff8a3ff in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:351
    #4 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #5 0x55f21ff8d508 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:987
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 80 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff72045 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1386
    #3 0x55f21ffafcf7 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:428
    #4 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 80 byte(s) in 16 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ff87b74 in createNamedVariableFromDataAttribute /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:116
    #4 0x55f21ff8a3ff in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:351
    #5 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #6 0x55f21ff8d27d in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:969
    #7 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #8 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #9 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #10 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #11 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #12 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #13 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #14 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 80 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ffae19f in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:290
    #3 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #4 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 80 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ff76602 in Asn1PrimitiveValue_create /home/input0/Desktop/libiec61850/src/mms/asn1/asn1_ber_primitive_value.c:31
    #3 0x55f21ff76dfa in BerInteger_createInt32 /home/input0/Desktop/libiec61850/src/mms/asn1/ber_integer.c:49
    #4 0x55f21ff71536 in MmsValue_newInteger /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1289
    #5 0x55f21ff72372 in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1405
    #6 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #7 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #8 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #9 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #10 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #11 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #12 0x55f21ff791b4 in createMmsServerCache /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:207
    #13 0x55f21ff7aa4d in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:453
    #14 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #15 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #16 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 64 byte(s) in 16 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff725af in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1421
    #3 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #4 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #5 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #6 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #7 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #8 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #9 0x55f21ff791b4 in createMmsServerCache /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:207
    #10 0x55f21ff7aa4d in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:453
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 64 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff8a224 in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:339
    #3 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #4 0x55f21ff8d508 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:987
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 64 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff8a849 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:394
    #3 0x55f21ff8d508 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:987
    #4 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #5 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #6 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #7 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #8 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #9 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #10 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #11 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 64 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff8a849 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:394
    #3 0x55f21ff8d27d in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:969
    #4 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #5 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #6 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #7 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #8 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #9 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #10 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #11 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 64 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff87e91 in createNamedVariableFromDataAttribute /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:133
    #3 0x55f21ff8a3ff in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:351
    #4 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #5 0x55f21ff8d27d in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:969
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 53 byte(s) in 9 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ff8ce73 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:866
    #4 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #5 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #6 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #7 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #8 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #9 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #10 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #11 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 40 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff76698 in Asn1PrimitiveValue_create /home/input0/Desktop/libiec61850/src/mms/asn1/asn1_ber_primitive_value.c:35
    #3 0x55f21ff76dfa in BerInteger_createInt32 /home/input0/Desktop/libiec61850/src/mms/asn1/ber_integer.c:49
    #4 0x55f21ff71536 in MmsValue_newInteger /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1289
    #5 0x55f21ff72372 in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1405
    #6 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #7 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #8 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #9 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #10 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #11 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #12 0x55f21ff791b4 in createMmsServerCache /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:207
    #13 0x55f21ff7aa4d in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:453
    #14 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #15 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #16 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 40 byte(s) in 4 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ff76602 in Asn1PrimitiveValue_create /home/input0/Desktop/libiec61850/src/mms/asn1/asn1_ber_primitive_value.c:31
    #3 0x55f21ff76dfa in BerInteger_createInt32 /home/input0/Desktop/libiec61850/src/mms/asn1/ber_integer.c:49
    #4 0x55f21ff71536 in MmsValue_newInteger /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1289
    #5 0x55f21ff72372 in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1405
    #6 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #7 0x55f21ffafcf7 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:428
    #8 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #9 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #10 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #11 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #12 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #13 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #14 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #15 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #16 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff871f4 in MmsMapping_createPhyComAddrStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:81
    #3 0x55f21ffaf446 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:357
    #4 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff72045 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1386
    #3 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #4 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #5 0x55f21ffafcf7 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:428
    #6 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #7 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #8 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #9 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #10 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #11 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #12 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #13 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #14 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 32 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ff87b74 in createNamedVariableFromDataAttribute /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:116
    #4 0x55f21ff8a3ff in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:351
    #5 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #6 0x55f21ff8d508 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:987
    #7 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #8 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #9 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #10 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #11 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #12 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #13 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #14 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 32 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ff89f40 in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:324
    #4 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #5 0x55f21ff8d508 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:987
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 32 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ff89f40 in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:324
    #4 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #5 0x55f21ff8d27d in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:969
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 30 byte(s) in 3 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ff76602 in Asn1PrimitiveValue_create /home/input0/Desktop/libiec61850/src/mms/asn1/asn1_ber_primitive_value.c:31
    #3 0x55f21ff76dfa in BerInteger_createInt32 /home/input0/Desktop/libiec61850/src/mms/asn1/ber_integer.c:49
    #4 0x55f21ff716f1 in MmsValue_newUnsigned /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1307
    #5 0x55f21ff723f8 in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1409
    #6 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #7 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #8 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #9 0x55f21ffafcf7 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:428
    #10 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #11 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #12 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #13 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #14 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #15 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #16 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #17 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #18 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 24 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ff8a642 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:379
    #4 0x55f21ff8d508 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:987
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff8a224 in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:339
    #3 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #4 0x55f21ff8d356 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:975
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 24 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ff8a642 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:379
    #4 0x55f21ff8d27d in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:969
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 20 byte(s) in 4 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff76698 in Asn1PrimitiveValue_create /home/input0/Desktop/libiec61850/src/mms/asn1/asn1_ber_primitive_value.c:35
    #3 0x55f21ff76dfa in BerInteger_createInt32 /home/input0/Desktop/libiec61850/src/mms/asn1/ber_integer.c:49
    #4 0x55f21ff71536 in MmsValue_newInteger /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1289
    #5 0x55f21ff72372 in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1405
    #6 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #7 0x55f21ffafcf7 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:428
    #8 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #9 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #10 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #11 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #12 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #13 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #14 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #15 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #16 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 18 byte(s) in 9 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff727fc in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1435
    #3 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #4 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #5 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #6 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #7 0x55f21ff791b4 in createMmsServerCache /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:207
    #8 0x55f21ff7aa4d in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:453
    #9 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #10 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #11 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 16 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ff87b74 in createNamedVariableFromDataAttribute /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:116
    #4 0x55f21ff87fdb in createNamedVariableFromDataAttribute /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:141
    #5 0x55f21ff8a3ff in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:351
    #6 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #7 0x55f21ff8d27d in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:969
    #8 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #9 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #10 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #11 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #12 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #13 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #14 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #15 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 15 byte(s) in 3 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff76698 in Asn1PrimitiveValue_create /home/input0/Desktop/libiec61850/src/mms/asn1/asn1_ber_primitive_value.c:35
    #3 0x55f21ff76dfa in BerInteger_createInt32 /home/input0/Desktop/libiec61850/src/mms/asn1/ber_integer.c:49
    #4 0x55f21ff716f1 in MmsValue_newUnsigned /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1307
    #5 0x55f21ff723f8 in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1409
    #6 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #7 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #8 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #9 0x55f21ffafcf7 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:428
    #10 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #11 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #12 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #13 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #14 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #15 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #16 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #17 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #18 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 11 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ffaf3be in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:356
    #4 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 10 byte(s) in 3 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ff87b74 in createNamedVariableFromDataAttribute /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:116
    #4 0x55f21ff8a3ff in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:351
    #5 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #6 0x55f21ff8d356 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:975
    #7 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #8 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #9 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #10 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #11 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #12 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #13 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #14 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 10 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ff76602 in Asn1PrimitiveValue_create /home/input0/Desktop/libiec61850/src/mms/asn1/asn1_ber_primitive_value.c:31
    #3 0x55f21ff76dfa in BerInteger_createInt32 /home/input0/Desktop/libiec61850/src/mms/asn1/ber_integer.c:49
    #4 0x55f21ff71536 in MmsValue_newInteger /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1289
    #5 0x55f21ff72372 in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1405
    #6 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #7 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #8 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #9 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #10 0x55f21ff791b4 in createMmsServerCache /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:207
    #11 0x55f21ff7aa4d in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:453
    #12 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #13 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #14 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 9 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ff874b7 in MmsMapping_createPhyComAddrStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:93
    #4 0x55f21ffaf446 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:357
    #5 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #6 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #7 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #8 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #9 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #10 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #11 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #12 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #13 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #14 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ffaed10 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:335
    #4 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ffaead6 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:328
    #4 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ffae00d in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:278
    #4 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ffaef4a in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:342
    #4 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff8a849 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:394
    #3 0x55f21ff8d356 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:975
    #4 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #5 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #6 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #7 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #8 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #9 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #10 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #11 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ffafbe2 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:415
    #3 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #4 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #5 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #6 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #7 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #8 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #9 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #10 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #11 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 7 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ffae89c in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:321
    #4 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 7 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ffaf515 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:362
    #4 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 7 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ffaf184 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:349
    #4 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 6 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff72c0a in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1453
    #3 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #4 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #5 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #6 0x55f21ffafcf7 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:428
    #7 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #8 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #9 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #10 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #11 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #12 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #13 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #14 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #15 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 6 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ffae5d5 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:312
    #4 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 6 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ffae241 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:297
    #4 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 6 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ff8790f in MmsMapping_createPhyComAddrStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:105
    #4 0x55f21ffaf446 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:357
    #5 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #6 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #7 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #8 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #9 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #10 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #11 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #12 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #13 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #14 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 5 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff76698 in Asn1PrimitiveValue_create /home/input0/Desktop/libiec61850/src/mms/asn1/asn1_ber_primitive_value.c:35
    #3 0x55f21ff76dfa in BerInteger_createInt32 /home/input0/Desktop/libiec61850/src/mms/asn1/ber_integer.c:49
    #4 0x55f21ff71536 in MmsValue_newInteger /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1289
    #5 0x55f21ff72372 in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1405
    #6 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #7 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #8 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #9 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #10 0x55f21ff791b4 in createMmsServerCache /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:207
    #11 0x55f21ff7aa4d in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:453
    #12 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #13 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #14 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 5 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ffae40b in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:304
    #4 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 5 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ff8728f in MmsMapping_createPhyComAddrStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:87
    #4 0x55f21ffaf446 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:357
    #5 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #6 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #7 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #8 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #9 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #10 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #11 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #12 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #13 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #14 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 4 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ff876e3 in MmsMapping_createPhyComAddrStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:99
    #4 0x55f21ffaf446 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:357
    #5 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #6 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #7 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #8 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #9 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #10 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #11 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #12 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #13 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #14 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 4 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ff89f40 in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:324
    #4 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #5 0x55f21ff8d356 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:975
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 3 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ffaf9bb in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:408
    #4 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 3 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33b50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55f220071c7c in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55f21ffbcb1e in StringUtils_copyString /home/input0/Desktop/libiec61850/src/common/string_utilities.c:45
    #3 0x55f21ff8a642 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:379
    #4 0x55f21ff8d356 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:975
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 1 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff727fc in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1435
    #3 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #4 0x55f21ffafcf7 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:428
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 448 byte(s) in 16 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff87b3b in createNamedVariableFromDataAttribute /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:114
    #3 0x55f21ff87fdb in createNamedVariableFromDataAttribute /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:141
    #4 0x55f21ff8a3ff in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:351
    #5 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #6 0x55f21ff8d508 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:987
    #7 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #8 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #9 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #10 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #11 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #12 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #13 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #14 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 448 byte(s) in 16 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff87b3b in createNamedVariableFromDataAttribute /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:114
    #3 0x55f21ff8a3ff in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:351
    #4 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #5 0x55f21ff8d27d in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:969
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 224 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff89eff in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:319
    #3 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #4 0x55f21ff8d508 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:987
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 224 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff87b3b in createNamedVariableFromDataAttribute /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:114
    #3 0x55f21ff8a3ff in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:351
    #4 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #5 0x55f21ff8d508 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:987
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 224 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff87b3b in createNamedVariableFromDataAttribute /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:114
    #3 0x55f21ff87fdb in createNamedVariableFromDataAttribute /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:141
    #4 0x55f21ff8a3ff in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:351
    #5 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #6 0x55f21ff8d27d in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:969
    #7 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #8 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #9 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #10 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #11 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #12 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #13 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #14 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 224 byte(s) in 8 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff89eff in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:319
    #3 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #4 0x55f21ff8d27d in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:969
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 189 byte(s) in 9 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff71eb7 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1378
    #3 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #4 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #5 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #6 0x55f21ff791b4 in createMmsServerCache /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:207
    #7 0x55f21ff7aa4d in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:453
    #8 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #9 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #10 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 84 byte(s) in 3 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff87b3b in createNamedVariableFromDataAttribute /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:114
    #3 0x55f21ff8a3ff in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:351
    #4 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #5 0x55f21ff8d356 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:975
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 84 byte(s) in 4 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff7149d in MmsValue_newInteger /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1281
    #3 0x55f21ff72372 in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1405
    #4 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #5 0x55f21ffafcf7 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:428
    #6 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #7 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #8 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #9 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #10 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #11 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #12 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #13 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #14 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 63 byte(s) in 3 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff71658 in MmsValue_newUnsigned /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1299
    #3 0x55f21ff723f8 in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1409
    #4 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #5 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #6 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #7 0x55f21ffafcf7 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:428
    #8 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #9 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #10 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #11 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #12 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #13 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #14 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #15 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #16 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 42 byte(s) in 2 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff737fc in MmsValue_newStringWithSize /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1575
    #3 0x55f21ff73a80 in MmsValue_newVisibleStringWithSize /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1600
    #4 0x55f21ff72d0d in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1457
    #5 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #6 0x55f21ffafcf7 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:428
    #7 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #8 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #9 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #10 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #11 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #12 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #13 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #14 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #15 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ffaef3a in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:341
    #3 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #4 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ffaed00 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:334
    #3 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #4 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ffaeac6 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:327
    #3 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #4 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ffae88c in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:320
    #3 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #4 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ffae5bb in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:310
    #3 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #4 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ffae3fb in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:303
    #3 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #4 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ffae231 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:296
    #3 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #4 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ffaf99b in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:404
    #3 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #4 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #5 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #6 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #7 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #8 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #9 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #10 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #11 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ffaf174 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:348
    #3 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #4 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ffaf3ae in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:355
    #3 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #4 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff89eff in createFCNamedVariableFromDataObject /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:319
    #3 0x55f21ff8a9b1 in createFCNamedVariable /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:405
    #4 0x55f21ff8d356 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:975
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ffaf505 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:361
    #3 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #4 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #5 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #6 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #7 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #8 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #9 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #10 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #11 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #12 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff878ff in MmsMapping_createPhyComAddrStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:104
    #3 0x55f21ffaf446 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:357
    #4 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff876d3 in MmsMapping_createPhyComAddrStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:98
    #3 0x55f21ffaf446 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:357
    #4 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff874a7 in MmsMapping_createPhyComAddrStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:92
    #3 0x55f21ffaf446 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:357
    #4 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff8727f in MmsMapping_createPhyComAddrStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:86
    #3 0x55f21ffaf446 in createSVControlBlockMmsStructure /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:357
    #4 0x55f21ffafce1 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:426
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 21 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff7288c in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1440
    #3 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #4 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #5 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #6 0x55f21ffafcf7 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:428
    #7 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #8 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #9 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #10 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #11 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #12 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #13 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #14 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #15 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 21 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff71eb7 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1378
    #3 0x55f21ff72ecd in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1479
    #4 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #5 0x55f21ffafcf7 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:428
    #6 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #7 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #8 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #9 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #10 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #11 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #12 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #13 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #14 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 21 byte(s) in 1 object(s) allocated from:
    #0 0x7fd669c33d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55f220071cb5 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55f21ff7263f in MmsValue_newDefaultValue /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1425
    #3 0x55f21ff72203 in MmsValue_newStructure /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:1391
    #4 0x55f21ffafcf7 in LIBIEC61850_SV_createSVControlBlocks /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_sv.c:428
    #5 0x55f21ff8df69 in createNamedVariableFromLogicalNode /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1090
    #6 0x55f21ff8ea2f in createMmsDomainFromIedDevice /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1193
    #7 0x55f21ff8ec8d in createMmsDataModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1215
    #8 0x55f21ff8f2ef in createMmsModelFromIedModel /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1298
    #9 0x55f21ff8f5a8 in MmsMapping_create /home/input0/Desktop/libiec61850/src/iec61850/server/mms_mapping/mms_mapping.c:1344
    #10 0x55f21ff7a565 in IedServer_createWithConfig /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:430
    #11 0x55f21ff7abcb in IedServer_create /home/input0/Desktop/libiec61850/src/iec61850/server/impl/ied_server.c:483
    #12 0x55f21ff66cf7 in main /home/input0/Desktop/libiec61850/examples/iec61850_9_2_LE_example/iec61850_9_2_LE_example.c:119
    #13 0x7fd6691c8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

SUMMARY: AddressSanitizer: 5388 byte(s) leaked in 389 allocation(s).
```


Comments:
Comment by abergmann on 2019-01-14 07:32:23+00:00:
[CVE-2019-6138](https://nvd.nist.gov/vuln/detail/CVE-2019-6138) got assigned to this issue.

There is also a reference to [CVE-2019-6135](https://nvd.nist.gov/vuln/detail/CVE-2019-6135).

---

Comment by mzillgith on 2019-03-25 22:33:21+00:00:
Hi, in order to run this example it is required to provide an existing interface name and run with required permissions (e.g. running as root on linux).

================= Bug Report (2/2) ==================
## Source: GitHub Issue
## URL: https://github.com/mz-automation/libiec61850/issues/104
## Description:
Issue: mz-automation/libiec61850#104
Title: Memeory leak in goose_publisher_example.c
State: open
Created by: RootUp
Created at: 2019-01-11 12:32:48+00:00

Issue Body:
Hi team, 

Their are multiple memory leaks in `goose_publisher_example.c`

Snip **[goose_publisher_example.c](https://github.com/mz-automation/libiec61850/blob/v1.3/examples/goose_publisher/goose_publisher_example.c#L30)**
```
	LinkedList_add(dataSetValues, MmsValue_newIntegerFromInt32(1234));
	LinkedList_add(dataSetValues, MmsValue_newBinaryTime(false));
        LinkedList_add(dataSetValues, MmsValue_newIntegerFromInt32(5678));
```

## Memory leaks
```
=================================================================
==1276==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 10 byte(s) in 1 object(s) allocated from:
    #0 0x7f98bdabdb50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55c2071bac8b in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55c2071abca3 in Asn1PrimitiveValue_create /home/input0/Desktop/libiec61850/src/mms/asn1/asn1_ber_primitive_value.c:31
    #3 0x55c2071ac49b in BerInteger_createInt32 /home/input0/Desktop/libiec61850/src/mms/asn1/ber_integer.c:49
    #4 0x55c2071ac8e3 in BerInteger_createFromInt32 /home/input0/Desktop/libiec61850/src/mms/asn1/ber_integer.c:97
    #5 0x55c2071a27e1 in MmsValue_newIntegerFromInt32 /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:827
    #6 0x55c20719c192 in main /home/input0/Desktop/libiec61850/examples/goose_publisher/goose_publisher_example.c:30
    #7 0x7f98bd3f0b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 10 byte(s) in 1 object(s) allocated from:
    #0 0x7f98bdabdb50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50)
    #1 0x55c2071bac8b in Memory_malloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:47
    #2 0x55c2071abca3 in Asn1PrimitiveValue_create /home/input0/Desktop/libiec61850/src/mms/asn1/asn1_ber_primitive_value.c:31
    #3 0x55c2071ac49b in BerInteger_createInt32 /home/input0/Desktop/libiec61850/src/mms/asn1/ber_integer.c:49
    #4 0x55c2071ac8e3 in BerInteger_createFromInt32 /home/input0/Desktop/libiec61850/src/mms/asn1/ber_integer.c:97
    #5 0x55c2071a27e1 in MmsValue_newIntegerFromInt32 /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:827
    #6 0x55c20719c1d0 in main /home/input0/Desktop/libiec61850/examples/goose_publisher/goose_publisher_example.c:32
    #7 0x7f98bd3f0b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 5 byte(s) in 1 object(s) allocated from:
    #0 0x7f98bdabdd38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55c2071bacc4 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55c2071abd39 in Asn1PrimitiveValue_create /home/input0/Desktop/libiec61850/src/mms/asn1/asn1_ber_primitive_value.c:35
    #3 0x55c2071ac49b in BerInteger_createInt32 /home/input0/Desktop/libiec61850/src/mms/asn1/ber_integer.c:49
    #4 0x55c2071ac8e3 in BerInteger_createFromInt32 /home/input0/Desktop/libiec61850/src/mms/asn1/ber_integer.c:97
    #5 0x55c2071a27e1 in MmsValue_newIntegerFromInt32 /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:827
    #6 0x55c20719c1d0 in main /home/input0/Desktop/libiec61850/examples/goose_publisher/goose_publisher_example.c:32
    #7 0x7f98bd3f0b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 5 byte(s) in 1 object(s) allocated from:
    #0 0x7f98bdabdd38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
    #1 0x55c2071bacc4 in Memory_calloc /home/input0/Desktop/libiec61850/hal/memory/lib_memory.c:59
    #2 0x55c2071abd39 in Asn1PrimitiveValue_create /home/input0/Desktop/libiec61850/src/mms/asn1/asn1_ber_primitive_value.c:35
    #3 0x55c2071ac49b in BerInteger_createInt32 /home/input0/Desktop/libiec61850/src/mms/asn1/ber_integer.c:49
    #4 0x55c2071ac8e3 in BerInteger_createFromInt32 /home/input0/Desktop/libiec61850/src/mms/asn1/ber_integer.c:97
    #5 0x55c2071a27e1 in MmsValue_newIntegerFromInt32 /home/input0/Desktop/libiec61850/src/mms/iso_mms/common/mms_value.c:827
    #6 0x55c20719c192 in main /home/input0/Desktop/libiec61850/examples/goose_publisher/goose_publisher_example.c:30
    #7 0x7f98bd3f0b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

SUMMARY: AddressSanitizer: 30 byte(s) leaked in 4 allocation(s).
```


Comments:
Comment by abergmann on 2019-01-14 07:32:47+00:00:
[CVE-2019-6135](https://nvd.nist.gov/vuln/detail/CVE-2019-6135) got assigned to this issue.

---

Comment by mzillgith on 2019-03-25 22:25:41+00:00:
Hi, it is required to provide an existing interface name and run with required permissions (e.g. running as root on linux).

Build script:
#!/bin/bash -eu
# Minimized build script with only core build commands
set -eu
mkdir -p build && cd build
cmake ../
make -j$(nproc)

Dockerfile:
FROM hwiwonlee/secb.base:latest
RUN git clone https://github.com/mz-automation/libiec61850 libiec61850
RUN git -C libiec61850 checkout edc093e810f375bc1de04511592c09e01fb76e82
WORKDIR $SRC/libiec61850
COPY build.sh $SRC/

Additional files:
filename: fuzz_decode.options
content: [libfuzzer]
detect_leaks=0