]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Don't free the constructed string in virDomainGetBlkioParametersAssignFromDef
authorPeter Krempa <pkrempa@redhat.com>
Thu, 30 Jun 2016 12:33:24 +0000 (14:33 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 30 Jun 2016 13:07:55 +0000 (15:07 +0200)
commitcbe4c049d87fe1f677668fbb51ba36647f3481d0
tree4caac53db1ded18aad897b4bc95f051c7d06e8fa
parentd7c40d50d721f5e34522efc57c4c4537721602c2
conf: Don't free the constructed string in virDomainGetBlkioParametersAssignFromDef

virTypedParameterAssign steals the string rather than copying it into
the typed parameter and thus freeing it leads to a crash when attempting
to serialize the results.

This was introduced in commit 9f50f6e2 and later made an universal
helper in 32e6339c.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1351473
src/conf/domain_conf.c