projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cfea77
)
e_hwc_window: fix leak of e_map
81/268381/1
author
Changyeon Lee
<cyeon.lee@samsung.com>
Wed, 22 Dec 2021 03:45:47 +0000
(12:45 +0900)
committer
Changyeon Lee
<cyeon.lee@samsung.com>
Wed, 22 Dec 2021 05:25:36 +0000
(14:25 +0900)
Change-Id: I58d9d7428c5b22105250b17add95bd3d681a629c
src/bin/e_hwc_window.c
patch
|
blob
|
history
diff --git
a/src/bin/e_hwc_window.c
b/src/bin/e_hwc_window.c
index 7e845bcaa046bb62ad27b2e71e7f195a998883e5..002d36d1c2f5c45c9081987efbb7189de2d5446f 100644
(file)
--- a/
src/bin/e_hwc_window.c
+++ b/
src/bin/e_hwc_window.c
@@
-2037,9
+2037,14
@@
_e_hwc_window_client_transform_device_state_available_get(E_Client *ec)
for (i = 0; i < 4; i++)
{
if (!e_map_point_coord_get(map, i, &x[i], &y[i], &z[i]))
- return EINA_FALSE;
+ {
+ e_map_free(map);
+ return EINA_FALSE;
+ }
}
+ e_map_free(map);
+
/* check 2D */
if ((z[0] != z[1]) || (z[0] != z[2]) || (z[0] != z[3]))
return EINA_FALSE;