Memory Leak in SQLite Auto-Extensions Due to Missing Shutdown Handling
Memory Leak in SQLite Auto-Extensions: Issue Overview When using SQLite’s sqlite3_auto_extension function to register multiple extensions in a C program, a memory leak can occur if proper cleanup mechanisms are not implemented. This issue manifests as "still reachable" memory reported by tools like Valgrind, indicating that memory allocated during the initialization of auto-extensions is not…