]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virJSONParserInsertValue: Take double pointer for @value
authorPeter Krempa <pkrempa@redhat.com>
Fri, 12 Feb 2021 15:26:09 +0000 (16:26 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Sat, 20 Feb 2021 12:26:38 +0000 (13:26 +0100)
commit8298a5bd69eaec25626628d5f407374449240033
tree6cad260f350234d1c6cc227d2551cf6ec7f02c7e
parent6b12e220b00b425d9c2abd05f66bde587c42d59b
virJSONParserInsertValue: Take double pointer for @value

The function calls virJSONValueObjectAppend/virJSONValueArrayAppend, so
by taking a double pointer we can drop the pointer clearing from
callers.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/util/virjson.c