identical to a clock task or an ITM temporary event task.</p>
<h1><a class="anchor" id="chapter_itm_clean"></a>
Cleaning Up</h1>
<p>With all time objects, both permanent and temporary, it's necessary to free the objects in your object's free method. Failure to do so will lead to crashes if your object is freed but its events remain in the ITM scheduler. For example, here is the delay2 free routine:</p>
<div class="fragment"><div class="line"><span class="keywordtype">void</span> delay2_free(t_delay2 *x)</di