Allocate disk object with AllocMem() and keep track of it in its own
authorneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Tue, 24 Sep 2013 07:39:34 +0000 (07:39 +0000)
committerneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Tue, 24 Sep 2013 07:39:34 +0000 (07:39 +0000)
commit701d0a97307f052a82ed0e47773594ff0f505fd1
tree9496ae3d24c8f70ecaca5687dfeb66fc7b99ecd8
parent1ba487f14c5105809c1cde53e53656df3cd44575
Allocate disk object with AllocMem() and keep track of it in its own
freelist. Previously, each disk object was allocated from a new pool,
which was neither tracked nor deleted, causing a memory leak of about
5kB per icon!

git-svn-id: https://svn.aros.org/svn/aros/trunk@48119 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
AROS/workbench/libs/icon/newdiskobject.c