X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=lttng-sessiond%2Fust-app.c;h=ab65f2b1576f2d20ccbdff0bc89e488f81bc2e91;hp=6c9d40f421ff1c0fabbe93c8b5676c85000f3f0d;hb=88ff5b7f958a7bb60723d10ed97ceb79f9913167;hpb=f943b0fbaabaac5da05829e5f51df4ce274d941d diff --git a/lttng-sessiond/ust-app.c b/lttng-sessiond/ust-app.c index 6c9d40f42..ab65f2b15 100644 --- a/lttng-sessiond/ust-app.c +++ b/lttng-sessiond/ust-app.c @@ -846,6 +846,7 @@ int ust_app_register(struct ust_register_msg *msg, int sock) "%d-bit lttng-consumerd is available.\n", msg->name, msg->pid, msg->bits_per_long, CAA_BITS_PER_LONG); + close(sock); return -EINVAL; }