Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2014 12:40:31 +0000 (UTC)
From:      Jean-Sebastien Pedron <dumbbell@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r270750 - head/sys/dev/drm2/radeon
Message-ID:  <201408281240.s7SCeVgG023376@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dumbbell
Date: Thu Aug 28 12:40:31 2014
New Revision: 270750
URL: http://svnweb.freebsd.org/changeset/base/270750

Log:
  drm/radeon: Fix a memory leak when radeonkms is unloaded
  
  MFC after:	1 week

Modified:
  head/sys/dev/drm2/radeon/radeon_fb.c

Modified: head/sys/dev/drm2/radeon/radeon_fb.c
==============================================================================
--- head/sys/dev/drm2/radeon/radeon_fb.c	Thu Aug 28 11:50:52 2014	(r270749)
+++ head/sys/dev/drm2/radeon/radeon_fb.c	Thu Aug 28 12:40:31 2014	(r270750)
@@ -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?201408281240.s7SCeVgG023376>