What was corrected?
The General was not a Democrat. He was a Union, i.e. Republican, General and the Governor of Texas was not involved. The slaveowners were still Democrats and had vbeen breaking the law by not freeing their slaves.
https://en.wikipedia.org/wiki/Gordon_Granger?wprov=sfla1