aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorAmarinder Bindra <a-bindra@ti.com>2013-09-25 16:07:33 +0530
committerGerrit Code Review <gerrit2@git.omapzoom.org>2013-09-27 11:20:22 -0500
commit30cf86853f5cf6bc838f2b56ca441cc348bedb38 (patch)
tree8ec1f344f63ece4e1b914f67dae21f4256455c5e /packages
parent9cd39120edafb7a4c755f63d815adc18f5d455f9 (diff)
downloaddce-30cf86853f5cf6bc838f2b56ca441cc348bedb38.tar.gz
Add check for ownership for file descriptor
Currently, the dce_deinit function deletes the file descriptor(fd) that it uses for allocation of the buffers even if it has not created it. This adds a check where it only deletes the fd only when the ownership of fd is with libdce else it only deletes th device which it uses. Also, add a check where the dce_set_fd sets the fd only if the drm device fd is not already set to avoid memory leak. Change-Id: Ie5e23f06a5d171f2c06f4bebb64b040915e71153 Signed-off-by: Amarinder Bindra <a-bindra@ti.com>
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions