[PATCHv3 3/3] lxc: fix a memory leak