https://bugzilla.redhat.com/show_bug.cgi?id=
1003828
goto error;
}
}
+ VIR_FREE(fdlist);
return py_retval;
error:
#include <libvirt/virterror.h>
#include "typewrappers.h"
#include "libvirt-qemu.h"
+#include "viralloc.h"
#ifndef __CYGWIN__
extern void initlibvirtmod_qemu(void);
return VIR_PY_NONE;
py_retval = PyString_FromString(result);
+ VIR_FREE(result);
return py_retval;
}
return VIR_PY_NONE;
py_retval = PyString_FromString(result);
+ VIR_FREE(result);
return py_retval;
}
/************************************************************************