woopsie... pngData.cxx errors. For starters...
1. Two references to dbg() which only exist in the test files should be removed and2. I forgot to account for alloc_obuffer geting some noise on the stack. That can be nulled out in get_global_lock() which is called by all the
begin_read and begin_write functions. Sorry about that. 3. I'm still a little hazy on what c++ does automatically and what it doesn't do so I think there's a problem with nulling out the rgbImage** in the read(rgbImage** ) code. It should be deleted first, no? No... that caused a double free error. Man, I just don't know. Sorryabout that too. :-( Here's the cxx/h files as they now stand. You already have working demo code
that will continue to work, but we may have a "memory leak"??? if we don't delete the rgbImage before nulling out its pointer... or something.
pngData-fixups.tar.gz
Description: GNU Zip compressed data
_______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
