Use sqlite3DbMallocRawNN() where appropriate, instead of
sqlite3DbMallocRaw(). FossilOrigin-Name: 54a449a41d8d32da2f8b73689227ced866974a18
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user