changes
[cdsspec-compiler.git] / benchmark / mpmc-queue / mpmc-queue.h
index 1b737bdcf6af9a94032c4025905eaf511eccd81b..6f1bac68f1bf2bb409b6927d28130732c9e2b590 100644 (file)
@@ -62,6 +62,9 @@ public:
                @InitVar:
                        list = new_spec_list();
                        //tag = new_id_tag();
+               @Cleanup:
+                       if (list)
+                               free_spec_list();
        @Happens_before:
                Publish -> Fetch
                Consume -> Prepare