From: Jérémie Galarneau Date: Thu, 30 Jul 2020 16:14:21 +0000 (-0400) Subject: Fix: relayd: double unlock on viewer stream creation error X-Git-Tag: v2.12.2~3 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=a1c672ba261e6d903b6021cba87661074bba4bd1;hp=a1c672ba261e6d903b6021cba87661074bba4bd1;p=lttng-tools.git Fix: relayd: double unlock on viewer stream creation error viewer_stream_create must be called with the relay stream's lock held since 9edaf114d. A call to pthread_mutex_unlock was forgotten in the error path of viewer_stream_create resulting in a double-unlock in some error scenarios. Signed-off-by: Jérémie Galarneau Change-Id: I613f67440669af52f625b7bdc4e9ae6ce75956ea ---