Permalink
Browse files

nvc0: fix small leak

  • Loading branch information...
1 parent 98ccf0f commit 87b89bc6927ab3558b8853dafe3bef75b11e5d98 @mlankhorst mlankhorst committed Apr 18, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 pscnv/nvc0_vm.c
View
@@ -329,6 +329,8 @@ static void nvc0_vspace_free(struct pscnv_vspace *vs) {
}
pscnv_mem_free(nvc0_vs(vs)->pd);
+ if (nvc0_vs(vs)->mmio_bo)
+ pscnv_mem_free(nvc0_vs(vs)->mmio_bo);
kfree(vs->engdata);
}

0 comments on commit 87b89bc

Please sign in to comment.