Author: dumbbell
Date: Thu Sep  4 09:49:21 2014
New Revision: 271091
URL: http://svnweb.freebsd.org/changeset/base/271091

Log:
  drm/radeon: Fix a memory leak when radeonkms is unloaded
  
  This an MFC of r270750.

Modified:
  stable/9/sys/dev/drm2/radeon/radeon_fb.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/drm2/radeon/radeon_fb.c
==============================================================================
--- stable/9/sys/dev/drm2/radeon/radeon_fb.c    Thu Sep  4 09:42:36 2014        
(r271090)
+++ stable/9/sys/dev/drm2/radeon/radeon_fb.c    Thu Sep  4 09:49:21 2014        
(r271091)
@@ -291,6 +291,7 @@ static int radeon_fbdev_destroy(struct d
 
        if (rfbdev->helper.fbdev) {
                info = rfbdev->helper.fbdev;
+               free(info->fb_priv, DRM_MEM_KMS);
                free(info, DRM_MEM_KMS);
        }
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to