]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Introduce virJSONValueObjectStealArray
authorJohn Ferlan <jferlan@redhat.com>
Mon, 3 Oct 2016 18:45:13 +0000 (14:45 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 5 Oct 2016 15:12:02 +0000 (11:12 -0400)
commitebf8b783bfeeaeaa0fd99ab5ec864fd8d98f3a6d
tree1b638418644b776732ed529976ec1675cd03b472
parent8546f723db0b8d3a7e3deb86deb9cc7063f247f6
util: Introduce virJSONValueObjectStealArray

Provide the Steal API for any code paths that will desire to grab the
object array and then free it afterwards rather than relying to freeing
the whole chain from the reply.
src/libvirt_private.syms
src/util/virjson.c
src/util/virjson.h