summaryrefslogtreecommitdiff
path: root/drm/nv04_fence.c
diff options
context:
space:
mode:
Diffstat (limited to 'drm/nv04_fence.c')
-rw-r--r--drm/nv04_fence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drm/nv04_fence.c b/drm/nv04_fence.c
index 4484131d8..f9859deb1 100644
--- a/drm/nv04_fence.c
+++ b/drm/nv04_fence.c
@@ -67,7 +67,7 @@ nv04_fence_context_del(struct nouveau_channel *chan)
struct nv04_fence_chan *fctx = chan->fence;
nouveau_fence_context_del(&fctx->base);
chan->fence = NULL;
- kfree(fctx);
+ nouveau_fence_context_free(&fctx->base);
}
static int