Fix: memory leak in UST unit test
[lttng-tools.git] / tests / unit / test_ust_data.c
index 4b9ac64b3d47cae1fe72bdd56a79e21ccf12ec22..ae8b1232a02a1b3f0f9a2095f2741c99b975fb10 100644 (file)
@@ -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)
This page took 0.02454 seconds and 5 git commands to generate.