Fixed memory leak, related to bug#4262 (database connection gets not closed).
Fixed memory leak, related to bug#4262 (database connection gets not closed).

otrs-xx/otrs,otrs-xx/otrs,otrs-xx/otrs,otrs-xx/otrs