aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmarinder Bindra2013-09-25 05:37:33 -0500
committerGerrit Code Review2013-09-27 11:20:22 -0500
commit30cf86853f5cf6bc838f2b56ca441cc348bedb38 (patch)
tree8ec1f344f63ece4e1b914f67dae21f4256455c5e /Makefile.am
parent9cd39120edafb7a4c755f63d815adc18f5d455f9 (diff)
downloadrepo-libdce-30cf86853f5cf6bc838f2b56ca441cc348bedb38.tar.gz
repo-libdce-30cf86853f5cf6bc838f2b56ca441cc348bedb38.tar.xz
repo-libdce-30cf86853f5cf6bc838f2b56ca441cc348bedb38.zip
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 'Makefile.am')
0 files changed, 0 insertions, 0 deletions