Memory leaks only in extractRow and extractColumn in Dmatrix