projects
/
platform
/
core
/
account
/
account-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62860db
)
Free key and app_id memory
12/264512/1
author
Lohit Agarwalla
<l.agarwalla@samsung.com>
Thu, 23 Sep 2021 13:56:25 +0000
(19:26 +0530)
committer
Lohit Agarwalla
<l.agarwalla@samsung.com>
Thu, 23 Sep 2021 13:56:25 +0000
(19:26 +0530)
Change-Id: Ie9e087fe61f81a1e7a986a4d7cf2d6c0dd25fcf9
Signed-off-by: Lohit Agarwalla <l.agarwalla@samsung.com>
common/src/account_ipc_marshal.c
patch
|
blob
|
history
diff --git
a/common/src/account_ipc_marshal.c
b/common/src/account_ipc_marshal.c
index
c271d26
..
e9c6113
100644
(file)
--- a/
common/src/account_ipc_marshal.c
+++ b/
common/src/account_ipc_marshal.c
@@
-110,6
+110,8
@@
static provider_feature_s *_variant_to_provider_feature(GVariant *variant)
provider_feature_s *provider_feature_data = (provider_feature_s *)calloc(1, sizeof(provider_feature_s));
if (provider_feature_data == NULL) {
_ERR("provider_feature_s calloc failed - out of memory.");
+ g_free(key);
+ g_free(app_id);
return NULL;
}