svn commit: r270750 - head/sys/dev/drm2/radeon
Jean-Sebastien Pedron
dumbbell at FreeBSD.org
Thu Aug 28 12:40:32 UTC 2014
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);
}
More information about the svn-src-all
mailing list