projects
/
platform
/
core
/
account
/
liboauth2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b1b867
)
Free memory allocated to pch
07/261507/1
author
Lohit Agarwalla
<l.agarwalla@samsung.com>
Tue, 20 Jul 2021 08:43:18 +0000
(14:13 +0530)
committer
Lohit Agarwalla
<l.agarwalla@samsung.com>
Tue, 20 Jul 2021 08:43:18 +0000
(14:13 +0530)
Change-Id: I2d6862cc51e2e40d42a84b41e6e7e44513cc0311
Signed-off-by: Lohit Agarwalla <l.agarwalla@samsung.com>
src/oauth2_util.c
patch
|
blob
|
history
diff --git
a/src/oauth2_util.c
b/src/oauth2_util.c
index
01d4a3f
..
f69bb46
100644
(file)
--- a/
src/oauth2_util.c
+++ b/
src/oauth2_util.c
@@
-102,7
+102,7
@@
oauth2_util_get_params(const char *url_part, bundle **params)
tmp_end++;
char *eq_ptr = strchr(tmp_start, '=');
- OAUTH2_RETURN_VAL(eq_ptr, {}, OAUTH2_ERROR_INVALID_PARAMETER,
+ OAUTH2_RETURN_VAL(eq_ptr, {
g_strfreev(pch);
}, OAUTH2_ERROR_INVALID_PARAMETER,
"Could not find = character");
int key_size = (eq_ptr - tmp_start) + 1;