On 22/7/24 15:16, Daniel P. Berrangé wrote:
While common error propagation practice does not require manually
free'ing of local 'Error' objects, there are some cases where this
is needed. One example is where the 'Error' object is only used
for providing info to a trace event probe. Supporting g_autoptr
avoids the need to manually call 'error_free'.
Signed-off-by: Daniel P. Berrangé <berra...@redhat.com>
---
include/qapi/error.h | 2 ++
1 file changed, 2 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>