Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ret = LTTCOMM_KERN_CONSUMER_FAIL;
goto error;
}
ret = LTTCOMM_KERN_CONSUMER_FAIL;
goto error;
}
+ } else {
+ pthread_mutex_unlock(&kconsumer_data.pid_mutex);
- pthread_mutex_unlock(&kconsumer_data.pid_mutex);
}
break;
case LTTNG_DOMAIN_UST:
}
break;
case LTTNG_DOMAIN_UST:
}
ust_consumer_fd = ustconsumer_data.cmd_sock;
}
ust_consumer_fd = ustconsumer_data.cmd_sock;
+ } else {
+ pthread_mutex_unlock(&ustconsumer_data.pid_mutex);
- pthread_mutex_unlock(&ustconsumer_data.pid_mutex);