From: David Goulet Date: Tue, 14 May 2013 16:38:10 +0000 (-0400) Subject: Fix: memory leak in UST unit test X-Git-Tag: v2.2.0-rc3~71 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=f949b23ee2362d8f88cebe3ddc9c7f7f9f1edf17 Fix: memory leak in UST unit test Issue 1019913 of coverity scan. Signed-off-by: David Goulet --- diff --git a/tests/unit/test_ust_data.c b/tests/unit/test_ust_data.c index 4b9ac64b3..ae8b1232a 100644 --- a/tests/unit/test_ust_data.c +++ b/tests/unit/test_ust_data.c @@ -176,6 +176,7 @@ static void test_create_ust_context(void) ok((int) uctx->ctx.ctx == LTTNG_UST_CONTEXT_VTID, "Validate UST context"); + free(uctx); } int main(int argc, char **argv)