Use sqlite3DbMallocRawNN() where appropriate, instead of

sqlite3DbMallocRaw().

FossilOrigin-Name: 54a449a41d8d32da2f8b73689227ced866974a18
This commit is contained in:
drh
2016-10-01 19:21:56 +00:00
parent 8dfef1175e
commit d8e4b13256
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
Vdbe *sqlite3VdbeCreate(Parse *pParse){
sqlite3 *db = pParse->db;
Vdbe *p;
p = sqlite3DbMallocRaw(db, sizeof(Vdbe) );
p = sqlite3DbMallocRawNN(db, sizeof(Vdbe) );
if( p==0 ) return 0;
memset(&p->aOp, 0, sizeof(Vdbe)-offsetof(Vdbe,aOp));
p->db = db;