]> git.ipfire.org Git - thirdparty/lxc.git/commit
coverity: malloc the right size for btrs_node tree
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 11 Aug 2014 14:10:59 +0000 (14:10 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Sat, 16 Aug 2014 01:43:17 +0000 (21:43 -0400)
commit7aa66be8b12876f10b34da185093fb7a4003fbaf
treecc0ba30dba19e9bd4507ebe5b3f2f147f18a2e39
parentbd0c964703cb345dd3509cf2171a1b0bea8697d8
coverity: malloc the right size for btrs_node tree

We were allocating sizeof(tree) instead of sizeof(*tree).

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