Fix TopPath_DoBusinessToPath leaking memory on error
Detail: s/TopPath - Code which attempted to free the cleaned up user's path incorrectly assumed that it could find the string via the stacked R0. However stacked regs R0-R6 get updated with the found objects details, so we need to store a copy of the users R0 elsewhere and free the string via that instead. Admin: Fixes OS_FSControl 37 (and other operations?) filling the system heap if given paths which will generate errors (e.g. if drive empty/missing) Version 2.76. Tagged as 'FileSwitch-2_76'
Showing
Please register or sign in to comment