From: Jérémie Galarneau Date: Thu, 25 Aug 2016 20:20:47 +0000 (-0400) Subject: Fix: RCU lock imbalance on error in cmd_snapshot_list_outputs() X-Git-Tag: v2.8.2~21 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=12f9c0f01c0163d89340458c1bb4222e919e1149;hp=12f9c0f01c0163d89340458c1bb4222e919e1149;p=lttng-tools.git Fix: RCU lock imbalance on error in cmd_snapshot_list_outputs() The error path of cmd_snapshot_list_outputs() unlocks the rcu_read_lock. However, this path can be taken without having ever locked before. Fixes #1044 Signed-off-by: Jérémie Galarneau ---