Hi.
Andreas Zieringer wrote:
Hmm looks really like a driver problem. Can you try to switch to
software rendering?
Uh, no, I don't think that my machines can handle this with software
only. Unfortunately I had some trouble with the newer 6629 driver under
Debian, maybe I should try it again...
I was never really sure about that addRefCP() here, but it crashes
after some (unpredictable 1minute-2hours) time if I don't use it -
nevertheless, it doesn't leak memory while running.
The addRefCP is correct without it you get undefined behavior because
the setImage() call dereferences the "old" image pointer so in the
next run you are working with invalid pointers.
Ok, so if I use your code below, I don't need it, because I don't set them?
Can you try something like this:
(...)
No change, still leaking. With or without addRefCP(_images[j]) in the
load function.
Thanks & regards,
Dominik
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users