[libvirt] [PATCH] virCapabilitiesInitCaches: Don't leak cache dir
Pavel Hrdina
phrdina at redhat.com
Mon May 22 10:19:10 UTC 2017
On Mon, May 22, 2017 at 12:08:53PM +0200, Michal Privoznik wrote:
> To every virDirOpen we must have VIR_DIR_CLOSE otherwise FD is
> leaked.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/conf/capabilities.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170522/a95cbb1a/attachment-0001.sig>
More information about the libvir-list
mailing list