** Free all elements of the linked list starting from pStatement up ** until pLast (pLast is not freed). */
| 11342 | ** until pLast (pLast is not freed). |
| 11343 | */ |
| 11344 | static void idxStatementFree(IdxStatement *pStatement, IdxStatement *pLast){ |
| 11345 | IdxStatement *p; |
| 11346 | IdxStatement *pNext; |
| 11347 | for(p=pStatement; p!=pLast; p=pNext){ |
| 11348 | pNext = p->pNext; |
| 11349 | sqlite3_free(p->zEQP); |
| 11350 | sqlite3_free(p->zIdx); |
| 11351 | sqlite3_free(p); |
| 11352 | } |
| 11353 | } |
| 11354 | |
| 11355 | /* |
| 11356 | ** Free the linked list of IdxTable objects starting at pTab. |
no outgoing calls
no test coverage detected