lxc_monitor: fix memory leak on @fds and close fds
lxc_monitor: fix memory leak on @fds and close fds

also label and consolidate error conditions for
better readability

Signed-off-by: Arjun Sreedharan <7b808d12fc3a073c7a7c0d57bb3dff4996ef61c0@gmail.com>
Acked-by: Serge E. Hallyn <3df611b026e4639bee8aef7a4beb2e39fcebb313@ubuntu.com>

ioops/lxc,DarknessBeforeDawn/lxc,lisongmin/lxc,caglar10ur/lxc,virajs/lxc,virajs/lxc,bostjan/lxc,terceiro/lxc,Pelagicore/lxc,sapun/lxc,hallyn/lxc,szaszg/lxc,ss1h2a3tw/lxc,DarknessBeforeDawn/lxc,Distrotech/lxc,thmo/lxc,christiaan/lxc,sapun/lxc,ecarrara/lxc,codebauss/lxc,akshaykarle/lxc,federicobriata/lxc,raspberrypython/lxc,aeris/lxc,JohnPeacockMessageSystems/lxc,ksperis/lxc,cjwatson/lxc,aeris/lxc,federicobriata/lxc,hfuCN/lxc,GreatFruitOmsk/lxc,hfuCN/lxc,ksperis/lxc,QingweiPeterLan/cs188-lxc,ysbnim/lxc,yubo/lxc,Ponce/lxc,ecarrara/lxc,armcc/lxc,christiaan/lxc,sapun/lxc,ss1h2a3tw/lxc,fwilson42/lxc,Pelagicore/lxc,ss1h2a3tw/lxc,tych0/lxc,christiaan/lxc,QingweiPeterLan/cs188-lxc,szaszg/lxc,federicobriata/lxc,bostjan/lxc,GreatFruitOmsk/lxc,cjwatson/lxc,lisongmin/lxc,Distrotech/lxc,rldleblanc/lxc,raspberrypython/lxc,LynxChaus/lxc,thmo/lxc,caglar10ur/lxc,rowhit/lxc,hfuCN/lxc,lazy404/lxc,rowhit/lxc,GreatFruitOmsk/lxc,tych0/lxc,rldleblanc/lxc,rowhit/lxc,fwilson42/lxc,aeris/lxc,rldleblanc/lxc,hallyn/lxc,ioops/lxc,bmoar/lxc,JohnPeacockMessageSystems/lxc,Ponce/lxc,akshaykarle/lxc,ecarrara/lxc,Distrotech/lxc,armcc/lxc,ysbnim/lxc,caglar10ur/lxc,akshaykarle/lxc,virajs/lxc,jirislaby/lxc,lazy404/lxc,hallyn/lxc,thmo/lxc,tych0/lxc,terceiro/lxc,terceiro/lxc,QingweiPeterLan/cs188-lxc,lisongmin/lxc,ysbnim/lxc,bmoar/lxc,LynxChaus/lxc,LynxChaus/lxc,codebauss/lxc,Pelagicore/lxc,cjwatson/lxc,DarknessBeforeDawn/lxc,bostjan/lxc,raspberrypython/lxc,jirislaby/lxc,Ponce/lxc,fwilson42/lxc,codebauss/lxc,bmoar/lxc,JohnPeacockMessageSystems/lxc,ioops/lxc,yubo/lxc,jirislaby/lxc,szaszg/lxc,lazy404/lxc,yubo/lxc,armcc/lxc,ksperis/lxc