diff options
-rw-r--r-- | libdrm/nouveau/nouveau_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm/nouveau/nouveau_device.c b/libdrm/nouveau/nouveau_device.c index c6b24462..a61abb42 100644 --- a/libdrm/nouveau/nouveau_device.c +++ b/libdrm/nouveau/nouveau_device.c @@ -144,7 +144,7 @@ nouveau_device_close(struct nouveau_device **dev) { struct nouveau_device_priv *nvdev; - if (dev || !*dev) + if (!dev || !*dev) return; nvdev = nouveau_device(*dev); *dev = NULL; |