From: Jérémie Galarneau Date: Wed, 8 Jun 2016 20:42:27 +0000 (-0400) Subject: Fix: leak of reply buffer on data pending check X-Git-Tag: v2.8.1~12 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=29a58940dd7d8e2581560ddeeb21f74694820985;p=lttng-tools.git Fix: leak of reply buffer on data pending check Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 83eb01673..625f146fa 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -3081,6 +3081,7 @@ static int process_client_msg(struct command_ctx *cmd_ctx, int sock, case LTTNG_LIST_EVENTS: case LTTNG_LIST_SYSCALLS: case LTTNG_LIST_TRACKER_PIDS: + case LTTNG_DATA_PENDING: break; default: /* Setup lttng message with no payload */