Fix: remove useless assert
[lttng-tools.git] / src / bin / lttng-relayd / ctf-trace.c
index adfbac3f0b557d7c008e1590b7231eb6318e6105..137790f57784ea1a12198a32164b1fd9f268d442 100644 (file)
@@ -39,7 +39,6 @@ void ctf_trace_try_destroy(struct ctf_trace *obj)
        }
 
        ret_ref = uatomic_add_return(&obj->refcount, -1);
-       assert(ret_ref >= 0);
        if (ret_ref == 0) {
                DBG("Freeing ctf_trace %" PRIu64, obj->id);
                free(obj);
This page took 0.022876 seconds and 4 git commands to generate.