Chromium Code Reviews
Descriptionozone: drm: Fix graphics buffer handle leak in DrmConsoleBuffer
We are leaking graphics buffer handles every time we plug in a display.
The handle is created by DRM_IOCTL_MODE_GETFB. This adds a call to
DRM_IOCTL_GEM_CLOSE to release the handle.
BUG=470772
TEST=plug & unplug HDMI repeatedly. No significant increase in shared
memory usage over time (as reported by "free" command).
Review URL: https://codereview.chromium.org/1080923006
Cr-Commit-Position: refs/heads/master@{#325769}
(cherry picked from commit 756bbb93152e169e92e5e21b82ba724dac2f1822)
Committed: https://chromium.googlesource.com/chromium/src/+/0376981a83a48758bd3cbf6cd4337feb151e535f
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||