
7 Dec
2017
7 Dec
'17
10:23 a.m.
There are still some, but it's definitely better now. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> --- src/libvirt-php.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index 307412e..1525834 100644 --- a/src/libvirt-php.c +++ b/src/libvirt-php.c @@ -2411,6 +2411,8 @@ char *installation_get_xml(virConnectPtr conn, char *name, int memMB, (domain_flags & DOMAIN_FLAG_SOUND_AC97 ? "<sound model='ac97'/>\n" : "")); } + VIR_FREE(tmp); + VIR_FREE(arch); if (rv < 0) return NULL; -- 2.13.6