ltt-sessiond: fix 2 double-unlock
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 10 Sep 2011 19:17:56 +0000 (12:17 -0700)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 10 Sep 2011 19:17:56 +0000 (12:17 -0700)
commitb3c750d2ffae77322752a5b4f43bd4ddae3dfea6
treef4936d1c996f0687913cac6ad68067989ba3c098
parentbbd973c2ec2a0485e0b545f88cd1b1262fff3296
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 <mathieu.desnoyers@efficios.com>
ltt-sessiond/main.c
ltt-sessiond/traceable-app.c
This page took 0.032983 seconds and 4 git commands to generate.