diff --git a/drivers/vme/vme.c b/drivers/vme/vme.c index 5e6c7d74e19f44cc44f21e07872899ad1c5e05a0..f6856b42749655f3730e99c3bdb45891efb1d0b9 100644 --- a/drivers/vme/vme.c +++ b/drivers/vme/vme.c @@ -959,6 +959,8 @@ int vme_dma_free(struct vme_resource *resource) mutex_unlock(&ctrlr->mtx); + kfree(resource); + return 0; } EXPORT_SYMBOL(vme_dma_free);