diff options
author | Emil Velikov <[email protected]> | 2019-01-14 08:44:10 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2019-02-13 17:39:47 +0000 |
commit | 4acc5be3cd89cc4132d8456144ee066905a58e41 (patch) | |
tree | 07942c3cc8e550b77567c70a86f98e465efbc903 /lib/test_overflow.c | |
parent | e21710a893c8705360b764fa44061d72d65fb2ae (diff) |
drm: plug memory leak on drm_setup() failure
Currently we fail to free and detach the drm_file when drm_setup() fails.
Use the drm_close_helper to do address that.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions