[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua C API can't be used from other languages without C wrappers
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 20 Feb 2018 16:46:41 -0300
> - Several code examples in PiL will leak resources if allocation fails,
> e.g. the readdir example in listing 29.1 will leak the directory handler.
The readdir example is clear about its leak, and the book presents another
(and better, in my view) implementation that does not leak. I would like
to know about the other code examples that leak resources.
-- Roberto