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:
d3ada64
)
tdm: fix the memory leak
54/259954/1
author
SooChan Lim
<sc1.lim@samsung.com>
Thu, 17 Jun 2021 02:06:07 +0000
(11:06 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Thu, 17 Jun 2021 02:06:07 +0000
(11:06 +0900)
Change-Id: I2919b6f5296852a5ce2d93e4d866e5885fad6990
src/tdm.c
patch
|
blob
|
history
diff --git
a/src/tdm.c
b/src/tdm.c
index
889b3b8
..
295f162
100644
(file)
--- a/
src/tdm.c
+++ b/
src/tdm.c
@@
-1040,6
+1040,8
@@
fail:
if (master_drm_fd >= 0)
close(master_drm_fd);
hal_tdm_put_backend(tdm_backend);
+ free(module_data->name);
+ free(module_data->vendor);
free(module_data);
free(private_module);