MCPcopy Create free account
hub / github.com/audacity/audacity / recoverFreeTable

Function recoverFreeTable

lib-src/sqlite/shell.c:16960–16972  ·  view source on GitHub ↗

** Free a RecoverTable object allocated by recoverFindTable() or ** recoverOrphanTable(). */

Source from the content-addressed store, hash-verified

16958** recoverOrphanTable().
16959*/
16960static void recoverFreeTable(RecoverTable *pTab){
16961 if( pTab ){
16962 sqlite3_free(pTab->zQuoted);
16963 if( pTab->azlCol ){
16964 int i;
16965 for(i=0; i<=pTab->nCol; i++){
16966 sqlite3_free(pTab->azlCol[i]);
16967 }
16968 sqlite3_free(pTab->azlCol);
16969 }
16970 sqlite3_free(pTab);
16971 }
16972}
16973
16974/*
16975** This function is a no-op if (*pRc) is not SQLITE_OK when it is called.

Callers 3

recoverNewTableFunction · 0.85
recoverOrphanTableFunction · 0.85
recoverDatabaseCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected