projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: remove stale lttng-ust-elf.h from makefile
[lttng-ust.git]
/
liblttng-ust
/
lttng-ust-abi.c
diff --git
a/liblttng-ust/lttng-ust-abi.c
b/liblttng-ust/lttng-ust-abi.c
index 61245a88dfcc2cd18b2163e8016b199e6a26d2d5..c06f69dca5a0982d28ed00e45fadd0ea5ae4446c 100644
(file)
--- a/
liblttng-ust/lttng-ust-abi.c
+++ b/
liblttng-ust/lttng-ust-abi.c
@@
-185,6
+185,7
@@
static
void objd_ref(int id)
{
struct lttng_ust_obj *obj = _objd_get(id);
void objd_ref(int id)
{
struct lttng_ust_obj *obj = _objd_get(id);
+ assert(obj != NULL);
obj->u.s.f_count++;
}
obj->u.s.f_count++;
}
@@
-988,6
+989,8
@@
static const struct lttng_ust_objd_ops lttng_enabler_ops = {
void lttng_ust_abi_exit(void)
{
lttng_ust_abi_close_in_progress = 1;
void lttng_ust_abi_exit(void)
{
lttng_ust_abi_close_in_progress = 1;
+ ust_lock_nocheck();
objd_table_destroy();
objd_table_destroy();
+ ust_unlock();
lttng_ust_abi_close_in_progress = 0;
}
lttng_ust_abi_close_in_progress = 0;
}
This page took
0.024407 seconds
and
4
git commands to generate.