Fix: examples: use destroy API for queues/stacks
[urcu.git] / doc / examples / wfcqueue / cds_wfcq_splice.c
index bb2e51229a7257f90064dcd3d1e05b25c24e4190..f11edcbc9f34d44840664d79f2aded42ad3005e2 100644 (file)
@@ -105,5 +105,6 @@ int main(int argc, char **argv)
        print_queue(&head_A, &tail_A, "queue A content after splice");
        print_queue(&head_B, &tail_B, "queue B content after splice");
 end:
+       cds_wfcq_destroy(&head_A, &tail_A);
        return ret;
 }
This page took 0.034984 seconds and 4 git commands to generate.