Fix double close issue 41/269241/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 12 Jan 2022 01:50:34 +0000 (10:50 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 12 Jan 2022 02:05:20 +0000 (11:05 +0900)
commit5dc0e668dd974cb16fcd2b25a48e811230019150
tree75e93df8b775905c11d1b66ef0566c316647f2bb
parent0b7854c07e132af8df0b8b864fa3e63aa4dd5ead
Fix double close issue

Handler 'db' is passed to a function at sticker-parser.c:884 by calling function 'sqlite3_close' after the handler is closed again at sticker-parser.c:861 by calling function 'sqlite3_close'.

Handler 'stmt' is passed to a function at sticker-parser.c:842 by calling function 'sqlite3_finalize' after the handler is closed again at sticker-parser.c:819 by calling function 'sqlite3_finalize'.

Change-Id: I969482a8713925dcf4539d70717f132d74cf987b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
sticker-parser/sticker-parser.c