Fix double close issue 28/269328/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 12 Jan 2022 01:50:34 +0000 (10:50 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 13 Jan 2022 01:02:58 +0000 (10:02 +0900)
commit18129772d3b2e8ee9d80d4d2791347c1f396afbb
tree1ae41db12cfe96afae30e157ceb2ccb8dbf73c08
parent822b12ce099c5d98949521e8ff9266e4a1d8e24c
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