After terminating xmrig (ran as superuser) RAM does not get freed.
**Describe the bug**
After closing the program the RAM does not get cleared and it stays as allocated. Note this only happens if you start the program multiple times in a session.

**To Reproduce**
Open xmrig as superuser.
Close with CTRL+C
Reopen it.
Close again.
Experience the error.

**Expected behavior**
Free the RAM that is not used by anymore by the program.

**Required data**
 - Can't provide sorry
 - Default
 - OS: Linux > Ubuntu > ZorinOS
 - Not GPU related

**Additional context**
Nothing.
