diff options
author | 2021-01-25 14:26:35 +0100 | |
---|---|---|
committer | 2021-03-05 15:40:42 +0100 | |
commit | d71a243220db1e6bc04425b5988b8a9bc8523345 (patch) | |
tree | 966fe60a81ad0e4fab34bf992b6372222e263e21 /scripts/qapi/parser.py | |
parent | Merge remote-tracking branch 'remotes/kraxel/tags/ui-20210304-pull-request' into staging (diff) | |
download | qemu-d71a243220db1e6bc04425b5988b8a9bc8523345.tar.xz qemu-d71a243220db1e6bc04425b5988b8a9bc8523345.zip |
error: Fix "Converting to ERRP_GUARD()" doc on "valid at return"
Setting errp = NULL is wrong: the automatic error propagation still
propagates the dangling pointer _auto_errp_prop.local_err. We need to
set *errp = NULL to clear the dangling pointer.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210125132635.1253219-1-armbru@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions