Fix `PyUpb_Message_MergeInternal` segfault (#1338)
when `PyUpb_Message_MergeFromString` returns `NULL`, currently `PyUpb_Message_MergeInternal` will call `Py_DECREF` on `NULL` which results in a segmentation fault. This patch switches to `Py_XDECREF` to fix the segfault.pull/13908/head
parent
2a5724d86e
commit
ccadaf3196
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue