On Thu, Feb 20, 2014 at 01:21:57AM +0400, Ruslan Kuprieiev wrote: > + /* > + * Move argv. > + */ > + new_argv = xmalloc((argc + 1)*sizeof(char *)); Please make sure xmalloc successed here.