Fix: common: local_attr might leak
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 1 Mar 2022 15:27:37 +0000 (10:27 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 1 Mar 2022 19:12:27 +0000 (14:12 -0500)
commit9eb895d71ff4061966b9ef4677fbe14a2ddded12
treec3092c4f24d2edf0ed946e424c098bc24024598f
parente68d8bdb16c60aca0acdf4c4887d138031199af3
Fix: common: local_attr might leak

Reported by Coverity:

    CID 1475808: Resource leak (RESOURCE_LEAK)
    Variable local_attr going out of scope leaks the storage it points to.

    CID 1475810: Resource leak (RESOURCE_LEAK)
    Variable local_attr going out of scope leaks the storage it points to.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ibe2ee6516618827b6f52676d9a9f7d510cadf1bc
src/common/event.cpp
This page took 0.02478 seconds and 4 git commands to generate.