linux/drivers/gpu/drm/nouveau/nvif
Lucas Stach 8423d75d8f drm/nouveau: fix notify data leak
There is no reason to not free the notify data if the NTFY_DEL ioctl
failed. As nvif_notify_fini() is also called from the cleanup path of
nvif_notify_init(), the notifier may not have been successfully created
at that point. But it should also be the right thing to just free the
data in the regular fini calls, as there is nothing much we can do if
the ioctl fails, so better not leak memory.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2016-11-07 14:04:37 +10:00
..
client.c drm/nouveau/nvif: extend nop ioctl to return nvif version identifier 2015-08-28 12:40:32 +10:00
device.c drm/nouveau/nvif: device time mthd 2015-08-28 12:40:33 +10:00
Kbuild drm/nouveau: remove symlinks, move core/ to nvkm/ (no code changes) 2015-01-22 12:15:10 +10:00
notify.c drm/nouveau: fix notify data leak 2016-11-07 14:04:37 +10:00
object.c drm/nouveau/nvif: return min/max versions for supported object classes 2015-08-28 12:40:32 +10:00