Skip to content

Commit

Permalink
drm/nv50/fb: fix double free of vram mm
Browse files Browse the repository at this point in the history
nouveau_fb_destroy already calls nouveau_mm_fini on vram mm.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Marcin Slusarz authored and Ben Skeggs committed Oct 16, 2012
1 parent eed6187 commit 5db4c6c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 5db4c6c

Please sign in to comment.