<div dir="ltr"><div>I see.<br>&quot;S7 doesn&#39;t have a precise garbage collector&quot;: that was a useful insight.</div><div><br></div><div>And indeed when making the assignment in a loop (let&#39;s say 10 or 100 times) I can see the gc calling the free function. In a loop of 5 times I still had no calls.</div><div><br></div>Thank you both!<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 2 Jul 2020 at 14:34, &lt;<a href="mailto:bil@ccrma.stanford.edu">bil@ccrma.stanford.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Kjetil is correct, and this is explained in s7.html.<br>
Your object will eventually by gc&#39;d. Calling the gc<br>
from C is asking for trouble.<br>
<br>
</blockquote></div>