projects
/
platform
/
adaptation
/
nexell
/
libtdm-nexell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efd1eee
)
fix the memoery leak
04/249704/1
author
SooChan Lim
<sc1.lim@samsung.com>
Wed, 16 Dec 2020 08:07:10 +0000
(17:07 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Wed, 16 Dec 2020 08:07:10 +0000
(17:07 +0900)
Change-Id: I1d38084ee0dda82336cf53275165eca70eb795bd
src/tdm_nexell.c
patch
|
blob
|
history
diff --git
a/src/tdm_nexell.c
b/src/tdm_nexell.c
index f905f8291bef45320f0e3cc2f58c4e3d891442db..7358527df95ee88158dabd4c70741276fe97a5db 100644
(file)
--- a/
src/tdm_nexell.c
+++ b/
src/tdm_nexell.c
@@
-87,6
+87,7
@@
_tdm_nexell_udev_fd_handler(int fd, tdm_event_loop_mask mask, void *user_data)
ret = fstat(edata->drm_fd, &s);
if (ret == -1) {
TDM_ERR("fstat failed");
+ udev_device_unref(dev);
return TDM_ERROR_OPERATION_FAILED;
}