Searched refs:new_elem (Results 1 – 1 of 1) sorted by relevance
294 HashElem *new_elem; /* New element added to the pH */ in sqliteHashInsert() local314 new_elem = (HashElem*)sqliteMalloc( sizeof(HashElem) ); in sqliteHashInsert()315 if( new_elem==0 ) return data; in sqliteHashInsert()317 new_elem->pKey = sqliteMallocRaw( nKey ); in sqliteHashInsert()318 if( new_elem->pKey==0 ){ in sqliteHashInsert()319 sqliteFree(new_elem); in sqliteHashInsert()322 memcpy((void*)new_elem->pKey, pKey, nKey); in sqliteHashInsert()324 new_elem->pKey = (void*)pKey; in sqliteHashInsert()326 new_elem->nKey = nKey; in sqliteHashInsert()331 sqliteFree(new_elem); in sqliteHashInsert()[all …]