[CRIU] [PATCH] crtools: Use -o argument directly

Cyrill Gorcunov gorcunov at gmail.com
Wed Oct 9 08:46:08 PDT 2013


On Wed, Oct 09, 2013 at 07:41:14PM +0400, Cyrill Gorcunov wrote:
> 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...

I belive we don't need it at all. Updated.


More information about the CRIU mailing list