Re: [PATCH v2 13/14] qga: Fix qmp_guest_get_memory_blocks() error handling

2020-04-22 Thread Eric Blake
On 4/22/20 8:07 AM, Markus Armbruster wrote: The Error ** argument must be NULL, &error_abort, &error_fatal, or a pointer to a variable containing NULL. Passing an argument of the latter kind twice without clearing it in between is wrong: if the first call sets an error, it no longer points to N

[PATCH v2 13/14] qga: Fix qmp_guest_get_memory_blocks() error handling

2020-04-22 Thread Markus Armbruster
The Error ** argument must be NULL, &error_abort, &error_fatal, or a pointer to a variable containing NULL. Passing an argument of the latter kind twice without clearing it in between is wrong: if the first call sets an error, it no longer points to NULL for the second call. qmp_guest_get_memory_