memory usage patch revisited

2004-07-05 Thread Andy Bakun
Bah. When I originally wrote this patch, I used a test program and not the (much) larger (by at least an order of magnitude) program I'm normally working on. As such, I didn't discover this bug until I tried to run my larger program against an SDL_Perl with the patch I provided. The patch attach

memory usage patch

2004-06-30 Thread Andy Bakun
See the included patch which fixes the following three functions: CreateRGBSurfaceFrom (possible segfault) This function didn't create a private copy of the pixel data, but rather used whatever pixel data was passed in. This causes problems when the scalar that is used to