Fix: sessiond: leak of trigger on registration error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 9 Feb 2021 22:08:45 +0000 (17:08 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 9 Feb 2021 23:39:30 +0000 (18:39 -0500)
The caller of cmd_register_trigger assumes that no triggers are returned
on error. This causes a leak of the reference to the returned trigger.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I7377f9d4227c85feadba1778cf3c910ac677adac


No differences found
This page took 0.032106 seconds and 4 git commands to generate.