| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9b8c2e7 commit fc439d2
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -625,8 +625,10 @@ update_symbols(PyObject *symbols, PyObject *scopes, | |||
| 625 | 625 | return 0; | |
| 626 | 626 | ||
| 627 | 627 | itr = PyObject_GetIter(free); | |
| 628 | - if (!itr) | ||
| 629 | - goto error; | ||
| 628 | + if (itr == NULL) { | ||
| 629 | + Py_DECREF(v_free); | ||
| 630 | + return 0; | ||
| 631 | + } | ||
| 630 | 632 | ||
| 631 | 633 | while ((name = PyIter_Next(itr))) { | |
| 632 | 634 | v = PyDict_GetItem(symbols, name); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments