Reolved PA06 memory leak