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:21:59 +0000 (14:21 -0500)
commitd133f6d7bba25fb5662108987a929abbfcaabc7f
tree42eaa0b6fcf26a2fcf3780f7507fa7ab893bbd92
parent246a599cb05c4a0e9221f24f17d28f0a04d05c28
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.02501 seconds and 4 git commands to generate.