summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authordbiastoch <dbiastoch@de.adit-jv.com>2021-06-29 17:01:11 +0200
committerSaya Sugiura <ssugiura@jp.adit-jv.com>2021-10-05 11:07:01 +0900
commit9b519696fc7a952d128e62c37a658e5152ee268f (patch)
treedf33a04df0991c20b377d6048d8b780498fa4fd0 /examples
parentedbbd831774e286e1290b338370b36cc088ea5bc (diff)
downloadDLT-daemon-9b519696fc7a952d128e62c37a658e5152ee268f.tar.gz
dlt-system: Fix memory leak in dlt-system config
In read_configuration_file() inside dlt-system-options.c memory is allocated for saving the parsed options into config struct. This memory is not freed again. There are two major changes for resolving this issue: 1) Add a cleanup function inside dlt-system-options.c to free allocated memory 2) Replace all AppID and ContextID char pointer through a char array with the lenght of DLT_ID_SIZE. Signed-off-by: dbiastoch <dbiastoch@de.adit-jv.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions