Fix couple of memory leaks (osx)
Fix couple of memory leaks (osx)

codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop