Memory leak in IconUtils or in my code?
|Reported by:||cipri||Owned by:||axeld|
|Has a Patch:||no||Platform:||All|
I have written a little Test-Application. You can compile with the command "jam" (on gcc4). After you start the program "test", look how much memory it takes. Then make the window bigger and smaller (the more often the better you see the difference) a few times. Now look again at the memory it takes.
the relevant code lies in Tool.cpp, ImageButton.cpp
My conclusion is: I do something wrong in "LoadBitmap" or the IconUtils indeed have a memory leak.
(I'm using one of latest r1a3 builds)