From eb8bf36110d807a9bcda2cab45a5de0885e99aa7 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 15 May 2013 07:23:40 +0200 Subject: [PATCH] Fix: memory leak on connection reset Signed-off-by: Mathieu Desnoyers --- liblttng-ust/lttng-ust-comm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/liblttng-ust/lttng-ust-comm.c b/liblttng-ust/lttng-ust-comm.c index 86af682b..4d437fc5 100644 --- a/liblttng-ust/lttng-ust-comm.c +++ b/liblttng-ust/lttng-ust-comm.c @@ -443,6 +443,7 @@ int handle_message(struct sock_info *sock_info, goto error; } ret = len; + free(bytecode); goto end; } else { DBG("incorrect filter data message size: %zd", len); -- 2.34.1