[lxc-devel] [PATCH] coverity 1026198: remove unnecessary NULL check

Serge Hallyn serge.hallyn at ubuntu.com
Wed Oct 30 20:36:24 UTC 2013


Quoting Dwight Engen (dwight.engen at oracle.com):
> c->lxc_conf cannot be NULL in this case since the call sequence
> c->save_config()
>   c->load_config()
>     load_config_locked()
> which is done before this check will allocate it or fail
> 
> Signed-off-by: Dwight Engen <dwight.engen at oracle.com>

Sorry, already done.




More information about the lxc-devel mailing list