svn commit: r271090 - stable/10/sys/dev/drm2/radeon
Jean-Sebastien Pedron
dumbbell at FreeBSD.org
Thu Sep 4 09:42:37 UTC 2014
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);
}
More information about the svn-src-stable-10
mailing list