Commit adf2b45f authored by Committed by Uze Choi
Fix for double free in RE cache unit test.
[Problem] When RE cache unit test is terminated, always will crash af double free. [Reason] double freed valiable is shared pointer of mock object. this pointer will remove twice on release of mock object and shared pointer. [Fix] Deleter as non-operation was added on the creation of shared pointer. Change-Id: I6434795fd011312b1a9bcb5ecf0d092aab19b487 Signed-off-by: KIM JungYong <email@example.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18893Reviewed-by: Jay Sharma <firstname.lastname@example.org> Tested-by: jenkins-iotivity <email@example.com> Reviewed-by: Uze Choi <firstname.lastname@example.org>
Showing with 4 additions and 2 deletions