diff options
author | Takashi Iwai <[email protected]> | 2014-12-04 11:56:42 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2014-12-04 13:28:42 +0100 |
commit | a0a0bde32a4668656cdffac677032a101c170c6b (patch) | |
tree | 379301f4c752b825b23d48ee9ced899337c4225b /lib/mpi/mpiutil.c | |
parent | e2beb6cd5d0f6f0f6e71fe200a674932194a8e84 (diff) |
drm: Fix memory leak at error path of drm_read()
Note that the read manpages explicitly states that the read position
is undefined on error. Since EFAULT is just a userspace bug we are
therefore fine with just dropping the event on the floor.
Signed-off-by: Takashi Iwai <[email protected]>
[danvet: Add note that just dropping the event is ok.]
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions