memleak - I'm blind!
BlitzMax Forums/BlitzMax Programming/memleak - I'm blind!
| ||
Hi all, Can you see any obvious leaks in this code? I swear it's obvious but I just can't find it!!! If you run it and watch taskman, you'll see it rise and rise and rise. This however doesn't get anyone excited. Thanks for you help! |
| ||
Local toimage2:TImage=LoadImage(toimage) Local fromimage2:TImage=LoadImage(fromimage) GCMemalloced() wasn't showing any leak so it must have been something unGCed. As your code didn't specify an object type it was int (not covered by GC) so was taking the space each time and never being released. |
| ||
Oh, cheers. i'll take a look :) [edit] Thanks, thats great! :) [edit] In future, use superstrict. :) |