BPO | [3153](https://bugs.python.org/issue3153) --- | :--- Nosy | @avassalotti *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.* Show more details GitHub fields: ```python assignee = None closed_at = created_at = labels = ['extension-modules', 'performance'] title = 'sqlite leaks on error' updated_at = user = 'https://bugs.python.org/Rhamphoryncus' ``` bugs.python.org fields: ```python activity = actor = 'alexandre.vassalotti' assignee = 'none' closed = True closed_date = closer = 'alexandre.vassalotti' components = ['Extension Modules'] creation = creator = 'Rhamphoryncus' dependencies = [] files = [] hgrepos = [] issue_num = 3153 keywords = [] message_count = 2.0 messages = ['68478', '69628'] nosy_count = 2.0 nosy_names = ['Rhamphoryncus', 'alexandre.vassalotti'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = None status = 'closed' superseder = None type = 'resource usage' url = 'https://bugs.python.org/issue3153' versions = [] ```
Activity
Rhamphoryncus commentedon Jun 20, 2008
Found in Modules/_sqlite/cursor.c:
Besides the ugliness of allocating the object before passing it to the
"create" function, if pysqlite_statement_create fails, the object is leaked.
avassalotti commentedon Jul 13, 2008
Fixed in r64930 (trunk) and r64931 (py3k). Thanks.