projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: pass private data to context callbacks
[lttng-ust.git]
/
liblttng-ust
/
lttng-context.c
diff --git
a/liblttng-ust/lttng-context.c
b/liblttng-ust/lttng-context.c
index 0aaae755cc35b324b2a77a083306acea890010cc..7043c1571d78b00fe555bc38756fd54f992e4aa7 100644
(file)
--- a/
liblttng-ust/lttng-context.c
+++ b/
liblttng-ust/lttng-context.c
@@
-234,7
+234,7
@@
void lttng_destroy_context(struct lttng_ust_ctx *ctx)
return;
for (i = 0; i < ctx->nr_fields; i++) {
if (ctx->fields[i].destroy)
- ctx->fields[i].destroy(
&ctx->fields[i]
);
+ ctx->fields[i].destroy(
ctx->fields[i].priv
);
}
free(ctx->fields);
free(ctx);
This page took
0.024002 seconds
and
4
git commands to generate.