projects
/
platform
/
core
/
security
/
cert-svc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
492c238
)
Fix memory leak in destroyStoreList()
84/147984/3
author
Piotr Sawicki
<p.sawicki2@partner.samsung.com>
Wed, 6 Sep 2017 07:32:15 +0000
(09:32 +0200)
committer
Piotr Sawicki
<p.sawicki2@partner.samsung.com>
Fri, 8 Sep 2017 06:50:37 +0000
(08:50 +0200)
Change-Id: I96a7e85639f3afd368ba6859fbfb393c4e79212d
src/vcore/Client.cpp
patch
|
blob
|
history
diff --git
a/src/vcore/Client.cpp
b/src/vcore/Client.cpp
index
5ea8561
..
b271907
100644
(file)
--- a/
src/vcore/Client.cpp
+++ b/
src/vcore/Client.cpp
@@
-96,6
+96,8
@@
void destroyStoreList(CertSvcStoreCertList *list)
{
while (list) {
CertSvcStoreCertList *next = list->next;
+ free(list->gname);
+ free(list->title);
free(list);
list = next;
}