Fixed memory leak in cudaGaugeField.