projects
/
platform
/
core
/
connectivity
/
stc-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c570781
)
Fixed a issue for using heap after free
74/142974/1
accepted/tizen/4.0/unified/20170828.223511
accepted/tizen/unified/20170811.021041
submit/tizen/20170809.085632
submit/tizen_4.0/20170828.100003
author
hyunuktak
<hyunuk.tak@samsung.com>
Tue, 8 Aug 2017 05:37:56 +0000
(14:37 +0900)
committer
hyunuktak
<hyunuk.tak@samsung.com>
Tue, 8 Aug 2017 05:37:58 +0000
(14:37 +0900)
Change-Id: I6d79e47857211945aa29de2de71072dc98835bd4
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
src/database/db-common.c
patch
|
blob
|
history
diff --git
a/src/database/db-common.c
b/src/database/db-common.c
index
d2ad1ea
..
3895e12
100755
(executable)
--- a/
src/database/db-common.c
+++ b/
src/database/db-common.c
@@
-75,6
+75,7
@@
stc_error_e stc_db_initialize_once(void)
STC_LOGE("Can't set locking mode %s, skip set busy handler.",
sqlite3_errmsg(database));
sqlite3_close(database);
+ database = NULL;
__STC_LOG_FUNC_EXIT__;
return STC_ERROR_DB_FAILED;
}