|
From: | David Kastrup |
Subject: | Re: Fix memleak: temporary skyline objects for systems were never deleted (issue 4923048) |
Date: | Wed, 24 Aug 2011 15:57:01 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Han-Wen Nienhuys <address@hidden> writes: >> Skylines are smobs. The usual way to delete them would be to >> unprotect them once they have been registered by some >> garbage-collectable object (or a SCM variable that is being used for >> accessing them). > > They are simple smobs, though, so this pattern here is not uncommon. > You could also try to allocate them on the stack. I think it would make me less uncomfortable than using explicit delete. -- David Kastrup
[Prev in Thread] | Current Thread | [Next in Thread] |