Commit 92bf471
Bartosz Golaszewski
Check the return value of PyCapsule_New()
PyCapsule_New() can fail and return NULL. Check the return value and go
right to OUT on failure.1 parent b330bcc commit 92bf471
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1273 | 1273 | | |
1274 | 1274 | | |
1275 | 1275 | | |
1276 | | - | |
| 1276 | + | |
1277 | 1277 | | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
1278 | 1283 | | |
1279 | 1284 | | |
1280 | 1285 | | |
| |||
0 commit comments