No, there will be no memory leaks.
When the user closes your application, the process in which your application is running ends. Once the process is completed, the operating system (OS) simply restores all the memory that it has allocated for this process.
Note that it doesnβt matter for the OS whether the memory leak was an application or not, itβs just a recovery of what it assigned to the process.
source share