]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxcapi_snapshot: check that c is defined
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 3 Jun 2014 18:16:03 +0000 (13:16 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 3 Jun 2014 19:06:30 +0000 (15:06 -0400)
commit840f05df8ad3bb43e231c7ae9f8fbd7236469924
treeabb1d7a57548dc7712f4b6c71772f3553d69e820
parent1b03969c7ce75d7d88fe88d25fa74febb89bea98
lxcapi_snapshot: check that c is defined

before using it, like the other snapshot api methods do.

This will need to go into stable-1.0 as well.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/lxccontainer.c