projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add context support with metadata description
[lttng-modules.git]
/
ltt-context.c
diff --git
a/ltt-context.c
b/ltt-context.c
index 89e54bf80dd7980647018e63075b8692629ed601..ff1ba2e1a3c5d8c18c68d8d17698022711dd5296 100644
(file)
--- a/
ltt-context.c
+++ b/
ltt-context.c
@@
-47,6
+47,8
@@
void lttng_destroy_context(struct lttng_ctx *ctx)
{
int i;
+ if (!ctx)
+ return;
for (i = 0; i < ctx->nr_fields; i++) {
if (ctx->fields[i].destroy)
ctx->fields[i].destroy(&ctx->fields[i]);
This page took
0.022919 seconds
and
4
git commands to generate.