X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Funit%2Ftest_ust_data.c;h=ae8b1232a02a1b3f0f9a2095f2741c99b975fb10;hb=cc7f9e363bf9230260b2ef27c84e24f75a7535c0;hp=c79dbf6f4001a0a20a0a3ba0c3b479d7b9053e96;hpb=0a9c649428b2ea8d4e743aebc12585eeb58fcf64;p=lttng-tools.git diff --git a/tests/unit/test_ust_data.c b/tests/unit/test_ust_data.c index c79dbf6f4..ae8b1232a 100644 --- a/tests/unit/test_ust_data.c +++ b/tests/unit/test_ust_data.c @@ -33,8 +33,6 @@ #include -#include "utils.h" - /* This path will NEVER be created in this test */ #define PATH1 "/tmp/.test-junk-lttng" @@ -178,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)