Replace cudaFrees lost during the last merge