28 Jan
2009
28 Jan
'09
10:25 p.m.
On Wed, Jan 28, 2009 at 05:48:20PM -0300, Jorge Arellano Cid wrote:
In the second part of the patch, Why not:
void Image::setUseMap (ImageMapsList *list, object::Object *key) { mapList = list; + if (mapKey && mapKey != key) + delete mapKey; mapKey = key; }
Because I'm ridiculously paranoid about data members pointing to free()-ed values for even a nanosecond. You decide whether Dillo needs to be similarly paranoid/ridiculous. :-) Regards, Jeremy Henty