PT-50059745:  mysql DAO connector checkError() function can throw an exception.  If this is not caught by the function calling it, the function can prematurely exit leaving previously allocated objects to leak memory.
Merge remote-tracking branch 'origin/release-4.6' into release-4.6