Skip to contentSkip to conversation

drm/nv50/fb: fix double free of vram mm

PATCH New Marcin Slusarz 1 participant 1 message Oct 11, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/nv50/fb: fix double free of vram mm

nouveau_fb_destroy already calls nouveau_mm_fini on vram mm.

---
 drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c +0 -1
index 767d9c4..275e062 100644
@@ -277,7 +277,6 @@ nv50_fb_dtor(struct nouveau_object *object)
 		__free_page(priv->r100c08_page);
 	}
 
-	nouveau_mm_fini(&priv->base.vram);
 	nouveau_fb_destroy(&priv->base);
 }
 
Signature · 1 line
1.7.12