summaryrefslogtreecommitdiff
path: root/set_up_default_resources.py
diff options
context:
space:
mode:
authorCisco Cervellera <cisco.cervellera@arm.com>2021-09-15 09:35:24 +0100
committerCisco Cervellera <cisco.cervellera@arm.com>2021-09-15 09:35:24 +0100
commitd996cc524afba7018c260329100c6e5ce458a7fe (patch)
tree3945c2d268b64ec45e0aaa2164d6778af455b115 /set_up_default_resources.py
parentf6753c96891fee429fe9eba26940e5cee0203d4d (diff)
downloadml-embedded-evaluation-kit-d996cc524afba7018c260329100c6e5ce458a7fe.tar.gz
MLECO-2135: Memory leak bug
The ApplicationContext::Set function allocates always new memory for the attibute. When called multiple times (like it is done in most of the UseCaseHandler) this will generate a memory leak. The function now checks if the attibute exists; If it does it frees the memory and then allocate memory for the new attribute. Change-Id: I21db10009d6d0e360eab2dd33c344ef72eafe77f
Diffstat (limited to 'set_up_default_resources.py')
0 files changed, 0 insertions, 0 deletions