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

Function idxStatementFree

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

** Free all elements of the linked list starting from pStatement up ** until pLast (pLast is not freed). */

Source from the content-addressed store, hash-verified

9440** until pLast (pLast is not freed).
9441*/
9442static void idxStatementFree(IdxStatement *pStatement, IdxStatement *pLast){
9443 IdxStatement *p;
9444 IdxStatement *pNext;
9445 for(p=pStatement; p!=pLast; p=pNext){
9446 pNext = p->pNext;
9447 sqlite3_free(p->zEQP);
9448 sqlite3_free(p->zIdx);
9449 sqlite3_free(p);
9450 }
9451}
9452
9453/*
9454** Free the linked list of IdxTable objects starting at pTab.

Callers 2

sqlite3_expert_sqlFunction · 0.85
sqlite3_expert_destroyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected