commit | c4cee69a4497d9c6ad8868d63568b30e50cac9e9 | [log] [tgz] |
---|---|---|
author | Lyude Paul <lyude@redhat.com> | Wed Aug 22 21:40:06 2018 -0400 |
committer | Ben Skeggs <bskeggs@redhat.com> | Thu Oct 11 09:54:10 2018 +1000 |
tree | a0cd5f3f571bcf560f08aa2d101b4126a833119d | |
parent | e15e4c13e5b77e8b8e8c5e6d23831b1180249788 [diff] |
drm/nouveau: Fix potential memory leak in nouveau_drm_load() We forget to free drm in all instances of failure, and additionally also forget to destroy the master client if the other client fails initialization. Signed-off-by: Lyude Paul <lyude@redhat.com> Cc: Karol Herbst <kherbst@redhat.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>