X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-ust-abi.c;h=7e513a98d09393c4d379e791406d3c151ee1df10;hb=072886c488d5edca678b10ed827bc8960323cc99;hp=61245a88dfcc2cd18b2163e8016b199e6a26d2d5;hpb=d6297168f9042cdc550507bb5e97cee7037c34d3;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ust-abi.c b/liblttng-ust/lttng-ust-abi.c index 61245a88..7e513a98 100644 --- 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); + assert(obj != NULL); obj->u.s.f_count++; }