* Dmitry Bogatov [2014-04-10 20:52:43+0400] > > > + { > > > + free (nargv); > > > return 0L; > > > + } > > > else > > > nargv[nargi++] = narg; > > I don't understand this. In both cases, free() will be called with an > > argument of 0, which does nothing. > My bad. It does not fix problem, that if realloc fails, it does not free > memory, but we blindly assign, losing pointer to previous memory > chunk. Attached new version. Please, take a look. -- Best regards, Dmitry Bogatov , Free Software supporter, esperantisto and netiquette guardian. git://kaction.name/rc-files.git GPG: 54B7F00D