projects
/
platform
/
core
/
uifw
/
libtdm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89a0317
)
tdm_client: Fix leak of resource
81/280881/2
author
Changyeon Lee
<cyeon.lee@samsung.com>
Tue, 6 Sep 2022 07:54:28 +0000
(16:54 +0900)
committer
Changyeon Lee
<cyeon.lee@samsung.com>
Tue, 6 Sep 2022 07:57:34 +0000
(16:57 +0900)
Change-Id: I69e700bf91da5d736377033c2c3825eaeb4b82bb
client/tdm_client.c
patch
|
blob
|
history
diff --git
a/client/tdm_client.c
b/client/tdm_client.c
index
0cf3df4
..
ddfc222
100644
(file)
--- a/
client/tdm_client.c
+++ b/
client/tdm_client.c
@@
-1814,9
+1814,6
@@
tdm_client_voutput_cb_buffer_import_with_fd(void *data,
TDM_RETURN_IF_FAIL(private_voutput != NULL);
- buffer = calloc(1, sizeof *buffer);
- TDM_RETURN_IF_FAIL(buffer != NULL);
-
tbm_surface = _tdm_client_voutput_create_surface_from_param(private_voutput->bufmgr, 1,
width, height, format, bpp, size,
num_plane,