In message <25973a7652.Andrew-Pin@xxxxxxxxxxxx> on 26 Mar 2012 Andrew Pinder <Andrew.Pinder@xxxxxxxxxxxxx> wrote: >> However, under normal circumstances, the card reader is empty. The >> call to SYS"XOS_FSControl" does indeed return an error, viz. 'The >> disc drive is empty'. >> I am wondering if when SYS"XOS_FSControl" returns an error, it >> doesn't free the temporary memory it has claimed, which is where the >> memory leak is coming from. > There would be the same issue for an empty floppy drive under RISC OS > 2. This suggests that the memory leak is specific to the !NewIcons > code rather than original drive-name reading routines. It now occurs to me that, until the ARMini, RISC OS never attempted to display a name for a removable drive, just the drive number. Regards Andrew -- Andrew Pinder --- To alter your preferences or leave the group, visit //www.freelists.org/list/armini-support List-related queries to support@xxxxxxxxxxxx