diff options
Diffstat (limited to 'shared/via_map.c')
-rw-r--r-- | shared/via_map.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/via_map.c b/shared/via_map.c index afafadf16..02be344dc 100644 --- a/shared/via_map.c +++ b/shared/via_map.c @@ -83,6 +83,8 @@ int via_do_cleanup_map(drm_device_t *dev) drm_via_private_t *dev_priv = dev->dev_private; + via_dma_cleanup(dev); + DRM(free)(dev_priv, sizeof(drm_via_private_t), DRM_MEM_DRIVER); dev->dev_private = NULL; |