Memory leak
Hi,
I am not sure if this is the right place or not (and I apologise if it isn't) but the PAM has a memory leak (both version 1.5.2 and 1.6 beta).
When PAM reloads the application list, it calls TfrmMenu.ClearButtons, which clears the TAppListItem array. It doesn't actually frees the TAppListItem or TIcon objects. Upon exit, the TAppListItem array (and TIcon) objects are not freed.
There are two issues (with fixes):
1) TfrmMenu.ClearButtons needs to be modified from:
for intCounter:=0 to Length(arrAppItems) - 1 do
arrAppItems[intCounter].Icon:=nil;
- Read more about Memory leak
- Log in or register to post comments