Commit e0d6f457 authored by Michal Privoznik's avatar Michal Privoznik

virDomainGetXMLDesc: Free returned value

It's caller responsibility to free the returned value when no
longer needed. Moreover, some functions are rewritten so that
they use the fancy APIs we have (e.g. virDomainAttachDeviceFlags
instead of dumping domain XML, appending new disk there and
defining again).
Signed-off-by: 's avatarMichal Privoznik <mprivozn@redhat.com>
parent 86fd766b
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment