[libvirt] [v0.9.12-maint v2 08/12] Make sure regfree is called close to it's usage