|
From: | Paul Eggert |
Subject: | Re: Dynamic modules: emacs-module.c and signaling errors |
Date: | Tue, 24 Nov 2015 22:55:14 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Tom Tromey wrote:
The alternative is also error-prone though. It's very easy to forget that some cleanup is needed; and the Emacs facilities here aren't really all that easy to use either.
We're talking about memory allocation here. If Emacs allocates the memory, the caller shouldn't need to clean up, as the Emacs garbage collector can do that. This should be less error-prone.
[Prev in Thread] | Current Thread | [Next in Thread] |