projects
/
platform
/
core
/
uifw
/
autofill.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c5e333
)
Fix memory leak of app id in fill response handle
79/310479/1
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Thu, 25 Apr 2024 10:40:16 +0000
(19:40 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Tue, 30 Apr 2024 00:57:58 +0000
(09:57 +0900)
Change-Id: Idfe21f6599ff38269927aa1986d6a344790be2b2
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
common/autofill_fill_response.c
patch
|
blob
|
history
diff --git
a/common/autofill_fill_response.c
b/common/autofill_fill_response.c
index
7ce0bd1
..
4b97b25
100644
(file)
--- a/
common/autofill_fill_response.c
+++ b/
common/autofill_fill_response.c
@@
-53,6
+53,11
@@
EXPORT_API int autofill_fill_response_destroy(autofill_fill_response_h h)
return AUTOFILL_ERROR_INVALID_PARAMETER;
}
+ if (h->app_id) {
+ free(h->app_id);
+ h->app_id = NULL;
+ }
+
if (h->view_id) {
free(h->view_id);
h->view_id = NULL;