Fix: Metadata stream leak when received in consumer
authorDavid Goulet <dgoulet@efficios.com>
Fri, 28 Sep 2012 19:43:19 +0000 (15:43 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 1 Oct 2012 15:49:15 +0000 (11:49 -0400)
commit633d0084183d5b0aed953ce267e0e57e5ef29bd5
treec0ca9382fa1fb100013025b24400bcadb0dd664b
parentc80048c6378b9ee7796c4b833a2c07f6050cc6d7
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 <dgoulet@efficios.com>
src/common/consumer.c
src/common/kernel-consumer/kernel-consumer.c
src/common/relayd/relayd.c
src/common/ust-consumer/ust-consumer.c
This page took 0.02681 seconds and 4 git commands to generate.