summaryrefslogtreecommitdiff
path: root/doc/dlt_for_developers.md
diff options
context:
space:
mode:
authordbiastoch <dbiastoch@de.adit-jv.com>2021-06-29 17:01:11 +0200
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2021-10-05 11:19:26 +0900
commit0d36bba6f1b2cb531df6d18ecc6d3c61364ff469 (patch)
treedf33a04df0991c20b377d6048d8b780498fa4fd0 /doc/dlt_for_developers.md
parent11ef793a0b39d7a3c851af90dd2ddb0ba3028458 (diff)
downloadDLT-daemon-0d36bba6f1b2cb531df6d18ecc6d3c61364ff469.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 'doc/dlt_for_developers.md')
0 files changed, 0 insertions, 0 deletions