projects
/
platform
/
core
/
appfw
/
app-installers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1154478
)
Remove unnecessary free operation
87/183287/1
author
Junghyun Yeon
<jungh.yeon@samsung.com>
Wed, 4 Jul 2018 06:01:40 +0000
(15:01 +0900)
committer
Junghyun Yeon
<jungh.yeon@samsung.com>
Wed, 4 Jul 2018 06:01:40 +0000
(15:01 +0900)
- It will not affect at all but also unnecessary.
Change-Id: Ib710ded02c036d5937ab362b8b0addc9894683a7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/pkg_initdb/pkg_initdb.cc
patch
|
blob
|
history
diff --git
a/src/pkg_initdb/pkg_initdb.cc
b/src/pkg_initdb/pkg_initdb.cc
index 615044a80c2dcf841b2896af20389a96365cb4d1..fa3a8bcb1156d00d374a97b3f3ef5bc562ee1063 100644
(file)
--- a/
src/pkg_initdb/pkg_initdb.cc
+++ b/
src/pkg_initdb/pkg_initdb.cc
@@
-97,7
+97,6
@@
void RemoveOldDatabases(uid_t uid) {
if (parser_db == nullptr) {
std::cerr << "Failed to get db path, cannot remove old databases";
- free(parser_db);
return;
}
std::string journal = "-journal";