[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: issue following array example in pil chapter 28.2
- From: Martin Guy <martinwguy@...>
- Date: Sat, 18 Feb 2012 13:18:29 +0100
On 18 February 2012 03:05, Sam Roberts <firstname.lastname@example.org> wrote:
> On Fri, Feb 17, 2012 at 5:44 PM, David Rio <email@example.com> wrote:
>> luaL_newmetatable(L, "LuaBook.array"); // in luaopen_array()
>> I get an error from malloc because it is trying to free memory that has
>> not been allocated:
> Something is broken, you should post more code.
Specifically, can you post a complete code example that reproduces the
problem whe you run it?
I don't feel like typinge in all of Chapter 28 myself to see whether I
can reproduce your problem