Skip to content
Unverified Commit d996cc52 authored by Cisco Cervellera's avatar Cisco Cervellera
Browse files

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
parent f6753c96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment