Hello, > if( pwsz_input_range ) > delete pwsz_input_range; > + if( psz_input_range ) > + free(pwsz_input_range); > + if( psz_polarisation ) > + free(pwsz_input_range); No need to check for a NULL before doing a free. free( NULL ) == nop. Best regards -- ivoire | Rémi Duraffort