|
From: | Maxime Devos |
Subject: | Re: GC + Java finalization |
Date: | Fri, 19 Nov 2021 13:35:37 +0000 |
User-agent: | Evolution 3.38.3-1 |
> You coud simply ...>>> > - scm_gc_free (rx, sizeof(regex_t), "regex");> > + free (rx);>> drop the scm_gc_free AFAIK.
No, I cannot as explained in the patch summary: If we use scm_gc_free
in a free function of a Smob, this relies on Java finalization because
the memory must not be reclaimed in the same cycle.
[Prev in Thread] | Current Thread | [Next in Thread] |