[vchkpw] Solved: Re: Runtime error

2013-06-13 Thread Allan Dukat
Hi list I have had some help from a colleague, so now my problem is solved :-) When a Dir do not hold any forwards, then num_names equals 0 in vpalias.c at line 372, realloc will call free in order to assign 0 bytes for names, and return NULL for success. When valias_select_names_end free n

Re: [vchkpw] Re: Runtime error

2013-06-13 Thread Welinton
Allan Dukat escreveu: >Hello everyone on this list. > >If I comment out the free-lines in in valias_select_names_end in vpalias.c, >like this: > >void valias_select_names_end() >{ > int i; > > /* if( NULL != names ) { >for(i=0;i free(names[i]); >} >free(names); >names=