[Fix] Fix two memory leaks

Using SAFE_DELETE and checking the pointer before that doesn't make much sense. IMO just do
```
if (m_control != NULL)
  delete m_control;
```
There's no need to set it to NULL as it's overwritten on the next line anyway.