** Free all elements of the linked list starting from pStatement up ** until pLast (pLast is not freed). */
| 9440 | ** until pLast (pLast is not freed). |
| 9441 | */ |
| 9442 | static 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. |
no outgoing calls
no test coverage detected