Fix: remove useless assert
authorDavid Goulet <dgoulet@efficios.com>
Tue, 3 Dec 2013 16:45:44 +0000 (11:45 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 3 Dec 2013 16:45:44 +0000 (11:45 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
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.02591 seconds and 4 git commands to generate.