Re: malloc error for newbie

2007-07-07 Thread David
On Jul 7, 6:27 am, John Machin <[EMAIL PROTECTED]> wrote: > On Jul 7, 4:59 pm, David <[EMAIL PROTECTED]> wrote: > > > Hi, > > > Very new to python. When I uncomment the line > > #self.im.putpalette(mkpalette()) > > Try to focus in on where the nasty is happening: > >p = mkpalette() >

Re: malloc error for newbie

2007-07-07 Thread John Machin
On Jul 7, 4:59 pm, David <[EMAIL PROTECTED]> wrote: > Hi, > > Very new to python. When I uncomment the line > #self.im.putpalette(mkpalette()) Try to focus in on where the nasty is happening: p = mkpalette() # self.im.putpalette(p) > in the following code, I get the error: > > pyt

malloc error for newbie

2007-07-07 Thread David
Hi, Very new to python. When I uncomment the line #self.im.putpalette(mkpalette()) in the following code, I get the error: python $ ./mandelbrot.py Python(2860) malloc: *** Deallocation of a pointer not malloced: 0xff00; This could be a double free(), or free() called with the middle