From: Mathieu Desnoyers Date: Sat, 10 Sep 2011 19:17:56 +0000 (-0700) Subject: ltt-sessiond: fix 2 double-unlock X-Git-Tag: v2.0-pre13~8 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=b3c750d2ffae77322752a5b4f43bd4ddae3dfea6;hp=b3c750d2ffae77322752a5b4f43bd4ddae3dfea6 ltt-sessiond: fix 2 double-unlock After a list iteration, the pointer is not null, so the unlock would trigger. The second path modified does 2 unlock when taking the if () branch. Signed-off-by: Mathieu Desnoyers ---