svn commit: r271091 - stable/9/sys/dev/drm2/radeon

Jean-Sebastien Pedron dumbbell at FreeBSD.org
Thu Sep 4 09:49:22 UTC 2014


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);
 	}
 


More information about the svn-src-stable-9 mailing list