On Fri, 3 Sep 2010 12:00:51 +0200 (CEST) raymond.hettinger <python-checkins at python.org> wrote: > rv = set_discard_entry(so, &an_entry); > - if (rv == -1) > + if (rv == -1) { > + Py_DECREF(key); > return NULL; > + } > if (rv == DISCARD_NOTFOUND) { > - if (set_add_entry(so, &an_entry) == -1) > + if (set_add_entry(so, &an_entry) == -1) { > + Py_DECREF(key); > return NULL; > + } > } > + Py_DECREF(key); > } You have some misindented code here. Regards Antoine.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4