]> granicus.if.org Git - python/commit
Issue #3153: sqlite leaks on error.
authorAlexandre Vassalotti <alexandre@peadrop.com>
Sun, 13 Jul 2008 21:47:59 +0000 (21:47 +0000)
committerAlexandre Vassalotti <alexandre@peadrop.com>
Sun, 13 Jul 2008 21:47:59 +0000 (21:47 +0000)
commitbd70476897a16be21d5e26394c8c367d37e2c4c6
tree1d73abbadace62873665a5e4ff83490637a59c19
parentb93dc5f0cee59f1c7bfe6c3a85c834e14a708469
Issue #3153: sqlite leaks on error.
Changed statements of the form Py_DECREF(obj), obj = 0 to Py_CLEAR(obj).
Modules/_sqlite/connection.c
Modules/_sqlite/cursor.c