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:16:23 +0000 (14:16 -0500)
commit1c6806108ad529966516cb253ac96996ca2777cd
tree3cd2303c31b7eb305f463672a646c16d4fabba71
parentbf0a5e5d3ee71a4f9fc87208d9a4f2cf1510d0de
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.c
This page took 0.024749 seconds and 4 git commands to generate.