State agencies gave their employees unearned leave credits worth almost $6.4 million over five years, and the flub will continue to cost taxpayer dollars until the government fixes the errors, according to a new state audit, the Sacramento Bee reported.