[asterisk-bugs] [JIRA] (ASTERISK-20647) astdb_atexit call to sqlite3_close fails

Corey Farrell (JIRA) noreply at issues.asterisk.org
Fri Nov 2 21:24:21 CDT 2012


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Corey Farrell updated ASTERISK-20647:
-------------------------------------

    Attachment: astdb-sqlite3_close.patch

Create clean_statements() and clean_stmt(), call clean_statements from astdb_atexit.
                
> astdb_atexit call to sqlite3_close fails
> ----------------------------------------
>
>                 Key: ASTERISK-20647
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20647
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/AstDB
>    Affects Versions: SVN
>            Reporter: Corey Farrell
>            Severity: Minor
>         Attachments: astdb-sqlite3_close.patch
>
>
> main/db.c:
> init_statements has no matching cleanup and sqlite3_close does not succeed if any prepared statements have not been finalized.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list