AbstractWe use classical results on the zeroes of Dirichlet L-functions to prove the nonvanishing of two determinants analogous to Maillet's determinant. We deduce an extension theorem for Lee and Euclidean isometries of linear codes over a prime field