X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=doc%2Fexamples%2Fwfcqueue%2Fcds_wfcq_splice.c;h=f11edcbc9f34d44840664d79f2aded42ad3005e2;hb=63b97b79fa18f329e7e828fcda2530800d51aefa;hp=bb2e51229a7257f90064dcd3d1e05b25c24e4190;hpb=acdb423b07f25683566023aaeb9b428b27f45910;p=userspace-rcu.git diff --git a/doc/examples/wfcqueue/cds_wfcq_splice.c b/doc/examples/wfcqueue/cds_wfcq_splice.c index bb2e512..f11edcb 100644 --- a/doc/examples/wfcqueue/cds_wfcq_splice.c +++ b/doc/examples/wfcqueue/cds_wfcq_splice.c @@ -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; }