Fix double close issue 38/269238/2
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 01:57:07 +0000 (10:57 +0900)
commit2e3d9421756738a659b3f68f31074ed72def323f
tree6bb0bb5883f301dd05ecf811f7b8034f132c4647
parentb55547f4a39963b9d5722b54beb419529ba91964
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