Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2014 09:42:37 +0000 (UTC)
From:      Jean-Sebastien Pedron <dumbbell@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r271090 - stable/10/sys/dev/drm2/radeon
Message-ID:  <201409040942.s849gbjH019012@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dumbbell
Date: Thu Sep  4 09:42:36 2014
New Revision: 271090
URL: http://svnweb.freebsd.org/changeset/base/271090

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

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

Modified: stable/10/sys/dev/drm2/radeon/radeon_fb.c
==============================================================================
--- stable/10/sys/dev/drm2/radeon/radeon_fb.c	Thu Sep  4 09:15:44 2014	(r271089)
+++ stable/10/sys/dev/drm2/radeon/radeon_fb.c	Thu Sep  4 09:42:36 2014	(r271090)
@@ -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);
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409040942.s849gbjH019012>