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.7.4~7 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=05032b8c74e4808c4dd1d0bf9f39d751a47bd3a8;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 7373218e3..26ef1070b 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -3049,6 +3049,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 */