On Wed, Oct 09, 2013 at 07:27:12PM +0400, Pavel Emelyanov wrote: > > case 'o': > > - opts.output = strdup(optarg); > > + opts.output = xstrdup(optarg); > > Do we need to strdup it at all? Heh, seems like indeed it's completely redundant. Letme recheck... Cyrill