summaryrefslogtreecommitdiff
path: root/drm/nv10_fence.c
diff options
context:
space:
mode:
Diffstat (limited to 'drm/nv10_fence.c')
-rw-r--r--drm/nv10_fence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drm/nv10_fence.c b/drm/nv10_fence.c
index 737d066ff..5e1ea1cdc 100644
--- a/drm/nv10_fence.c
+++ b/drm/nv10_fence.c
@@ -63,7 +63,7 @@ nv10_fence_context_del(struct nouveau_channel *chan)
nvif_object_fini(&fctx->head[i]);
nvif_object_fini(&fctx->sema);
chan->fence = NULL;
- kfree(fctx);
+ nouveau_fence_context_free(&fctx->base);
}
int