projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e67d81
)
Fix: memory leak in UST unit test
author
David Goulet
<dgoulet@efficios.com>
Tue, 14 May 2013 16:38:10 +0000
(12:38 -0400)
committer
David Goulet
<dgoulet@efficios.com>
Wed, 15 May 2013 14:21:07 +0000
(10:21 -0400)
Issue
1019913
of coverity scan.
Signed-off-by: David Goulet <dgoulet@efficios.com>
tests/unit/test_ust_data.c
patch
|
blob
|
blame
|
history
diff --git
a/tests/unit/test_ust_data.c
b/tests/unit/test_ust_data.c
index 4b9ac64b3d47cae1fe72bdd56a79e21ccf12ec22..ae8b1232a02a1b3f0f9a2095f2741c99b975fb10 100644
(file)
--- 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)
This page took
0.02618 seconds
and
4
git commands to generate.