diff options
Diffstat (limited to 'src/vdbeaux.c')
-rw-r--r-- | src/vdbeaux.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vdbeaux.c b/src/vdbeaux.c index d3a982ad6..e17a1cbcc 100644 --- a/src/vdbeaux.c +++ b/src/vdbeaux.c @@ -1235,9 +1235,10 @@ void sqlite3VdbeDelete(Vdbe *p){ sqliteFree(pOp->p3); } if( pOp->p3type==P3_VDBEFUNC ){ + int j; VdbeFunc *pVdbeFunc = (VdbeFunc *)pOp->p3; - for(i=0; i<pVdbeFunc->nAux; i++){ - struct AuxData *pAuxData = &pVdbeFunc->apAux[i].pAux; + for(j=0; j<pVdbeFunc->nAux; j++){ + struct AuxData *pAuxData = &pVdbeFunc->apAux[j].pAux; if( pAuxData->pAux && pAuxData->xDelete ){ pAuxData->xDelete(pAuxData->pAux); } |