changes
[cdsspec-compiler.git] / benchmark / mpmc-queue / mpmc-queue.h
index 1b737bd..6f1bac6 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