db: Avoid a memory leak in __db_conn()
db: Avoid a memory leak in __db_conn()

In the case of errors from mysql_real_connect() before setting dbc to
NULL we need to call mysql_close() on it first.

Signed-off-by: Andrew Clayton <02e0a999c50b1f88df7a8f5a04e1b76b35ea6a88@digital-domain.net>

ac000/fcgi_app_core,ac000/fcgi_app_core