diff options
author | dbiastoch <dbiastoch@de.adit-jv.com> | 2021-06-29 17:01:11 +0200 |
---|---|---|
committer | Saya Sugiura <ssugiura@jp.adit-jv.com> | 2021-10-05 11:07:01 +0900 |
commit | 9b519696fc7a952d128e62c37a658e5152ee268f (patch) | |
tree | df33a04df0991c20b377d6048d8b780498fa4fd0 /doc/dlt_design_specification.md | |
parent | edbbd831774e286e1290b338370b36cc088ea5bc (diff) | |
download | DLT-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 'doc/dlt_design_specification.md')
0 files changed, 0 insertions, 0 deletions