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:
2c09a82
)
e_output: free all allocated memory for mask when it's deleted.
70/229970/3
author
Seunghun Lee
<shiin.lee@samsung.com>
Tue, 7 Apr 2020 02:23:41 +0000
(11:23 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Tue, 21 Apr 2020 04:33:07 +0000
(
04:33
+0000)
fix possible memory leak at a time of deletion of e_output.
Change-Id: I56d99171dd221be53e2c6c13004bf664c43bedee
src/bin/e_output.c
patch
|
blob
|
history
diff --git
a/src/bin/e_output.c
b/src/bin/e_output.c
index
0e4c655
..
6d91602
100644
(file)
--- a/
src/bin/e_output.c
+++ b/
src/bin/e_output.c
@@
-4395,7
+4395,14
@@
e_output_stream_capture_mask_image_geometry_set(E_Output *output, int x, int y,
static void
_e_output_stream_capture_mask_data_hash_cb_data_free(void *data)
{
- free(data);
+ E_Output_Stream_Capture_Mask_Data *md;
+
+ md = data;
+
+ E_FREE_FUNC(md->eo, evas_object_del);
+ E_FREE_FUNC(md->file, eina_stringshare_del);
+
+ free(md);
}
static E_Output_Stream_Capture_Mask_Data *