[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: markup commands leaks (Re: Scheme question on strict substitution)
From: |
Han-Wen Nienhuys |
Subject: |
Re: markup commands leaks (Re: Scheme question on strict substitution) |
Date: |
Tue, 02 Jan 2007 00:14:34 +0100 |
User-agent: |
Thunderbird 1.5.0.9 (X11/20061219) |
Nicolas Sceaux escreveu:
> Han-Wen Nienhuys <address@hidden> writes:
>
>>> + (let ((command-proc (toplevel-module-ref ',command-name)))
>>> + ;; register its command signature
>>> + (set! (markup-command-signature command-proc)
>>> + (list ,@signature))
>> hi, this statement still leaks memory. I think the signature hashtab should
>> be thrown away or put into the local module as well.
>
> Here is another patch: the markup command hash table is removed.
> Using -ddebug seems to reveal no leak. make web works fine.
>
Wonderful. Can you merge this into master after I've released 2.1[01].7 ?
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com