From: David Goulet Date: Fri, 28 Sep 2012 19:43:19 +0000 (-0400) Subject: Fix: Metadata stream leak when received in consumer X-Git-Tag: v2.1.0-rc5~41 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=633d0084183d5b0aed953ce267e0e57e5ef29bd5;hp=633d0084183d5b0aed953ce267e0e57e5ef29bd5 Fix: Metadata stream leak when received in consumer Between threads, when the metadata stream is received, it is allocated. We now pass the pointer to the metadata thread thus fixing a memory leak because the original stream was never freed. This commit also modified some debug statements and remove a duplicate code snippet. Signed-off-by: David Goulet ---