1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-12 23:22:53 +03:00

Make use of the sqlite3ExprDeferredDelete() interface in the previous

check-in, and in another place where it might be helpful.

FossilOrigin-Name: 22f90e9683d5cd6619ccdb06a02e9dde9f4b7457391c0dbb4c3216c22fc0db47
This commit is contained in:
drh
2022-07-20 20:36:26 +00:00
parent 3245f3be67
commit 9553016377
4 changed files with 10 additions and 12 deletions

View File

@@ -99,9 +99,7 @@ static void resolveAlias(
pExpr->y.pWin->pOwner = pExpr;
}
}
sqlite3ParserAddCleanup(pParse,
(void(*)(sqlite3*,void*))sqlite3ExprDelete,
pDup);
sqlite3ExprDeferredDelete(pParse, pDup);
}
}