genl.c: fix a resource leak found by coverity
genl.c: fix a resource leak found by coverity

Signed-off-by: Serge Hallyn <3df611b026e4639bee8aef7a4beb2e39fcebb313@ubuntu.com>

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