Re: eDBI is born, feedback wanted

new topic     » goto parent     » topic index » view thread      » older message » newer message

great work,

poss mem leak in edbi_sqlite3.c ?

object __cdecl edbi_execute(object dbh, object sql) 
{ 
   sqlite3 *db = (sqlite3 *) dbh; 
   char *c_sql; 
   int result; 
                
   c_sql = EMalloc(SEQ_PTR(sql)->length + 1); 
   MakeCString(c_sql, sql, SEQ_PTR(sql)->length + 1); 
                         
   result = sqlite3_exec(db, c_sql, 0, 0, 0); 
   
   // MISSING EFree(c_sql); 
 
   return result; 
}  

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu