]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
ras-record: use sqlite3_reset to allow reusing the prepared statement
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 May 2013 10:41:30 +0000 (07:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 May 2013 10:41:30 +0000 (07:41 -0300)
commitbba290838f3db98a646219730f607e017762e11f
tree22943a9f5eca63369946b2fce54811be38afb19b
parenta006187b27d0213f5a758798ef0324e0baaac3db
ras-record: use sqlite3_reset to allow reusing the prepared statement

Instead of using sqlite3_finalize, we should use sqlite3_reset, or
otherwise the prepared statement will be de-allocated.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
ras-record.c