wcdb icon indicating copy to clipboard operation
wcdb copied to clipboard

Potential memory leak -04.

Open rachyyyy opened this issue 3 years ago • 0 comments

The language of WCDB

Java

The platform of WCDB

Android

What's the issue?

Potential memory leak in com_tencent_wcdb_database_SQLiteConnection.cpp line 430-433. The err is not released will cause a memory leak. Doc says "Whether or not an error occurs when it is opened, resources associated with the database connection handle should be released by passing it to sqlite3_close() when it is no longer required." 1662193036195

rachyyyy avatar Sep 03 '22 08:09 rachyyyy