On 04/02/2014 07:26 AM, Ján Tomko wrote:
> Coverity complains about a possible leak of seclabel if
> !sec_managers[i]->drv->domainGenSecurityLabel is true
> and the seclabel might be overwritten by the next iteration
> of the loop.
>
> This leak should never happen, because every security driver
> has domainGenSecurityLabel defined.
> ---
> v1: 'Remove useless NULL check in virSecurityManagerGenLabel'
>
https://www.redhat.com/archives/libvir-list/2014-April/msg00087.html
ACK, and nicer that it is smaller.