Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information