Fix memory leak

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@43597 4005530d-fff6-0310-9dd1-cebe43e6787f
Fix memory leaks on hint windows and popup menu 

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@43598 4005530d-fff6-0310-9dd1-cebe43e6787f
Correct missing line - TCocoaWidgetSet.AppTerminate;   

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@43599 4005530d-fff6-0310-9dd1-cebe43e6787f