Hello,

sqltie3_stmt *stmt;
sqlite3_prepare(...stmt...);
sqlite3_reset(stmt);
sqlite3_reset(stmt); // Is this OK?

it looks "sqlite3_prepare" allocates resource and "sqlite3_reset"
deallocates them,
is it ok to call sqlite_reset on the same statement pointer multiple times
without preparing it in between?
Would it cause undefined behaviour or memory leaking ... ?

Br,Kai

Reply via email to