1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 07:59:00 +00:00
Peter Krempa bd74e0d995 virJSONValueObjectAddVArgs: Allocate new object if passed pointer is NULL
Until now the code would crash if virJSONValueObjectAdd is used without
a valid object. Adding the functionality of allocating it if it's NULL
will allow us to replace all uses of virJSONValueObjectCreate with this
single function.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2021-11-17 12:04:11 +01:00
..
2021-10-21 17:34:04 +01:00
2021-11-08 14:32:32 +01:00
2021-05-24 20:26:20 +02:00
2021-03-02 09:50:19 +01:00
2020-10-06 12:31:34 +02:00
2020-02-24 23:15:49 +01:00
2021-04-13 17:00:38 +02:00
2021-03-02 09:50:19 +01:00
2020-02-24 17:25:07 +00:00
2021-04-13 17:00:38 +02:00
2021-05-24 20:26:20 +02:00
2021-10-21 17:34:04 +01:00
2021-05-13 11:07:13 +01:00
2021-05-13 11:07:13 +01:00
2020-10-06 12:31:34 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2020-12-04 16:24:19 +01:00
2020-12-04 16:24:19 +01:00
2021-08-17 18:27:13 +02:00