git: drm/radeon: Fix some leaks on module unload.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Tue May 10 06:40:51 PDT 2016


commit 5d6a9071a2c71909238483e0fab4b45d6bb27bb7
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Tue May 10 15:59:03 2016 +0300

    drm/radeon: Fix some leaks on module unload.
    
    This prevents leaking of whopping 1008 bytes of M_DRM memory:
      * 512 bytes from radeon/atom.c
      * 440 bytes from radeon/radeon_atombios.c voltage_tables
      * 56 bytes from allocation of struct fb_info *info
    
    fb_info case needs help from syscons, for now let it leak those 56 bytes.

Summary of changes:
 sys/dev/drm/radeon/radeon_device.c |  3 +++
 sys/dev/drm/radeon/radeon_fb.c     |  3 ++-
 sys/dev/drm/radeon/radeon_kms.c    |  5 ++---
 sys/dev/drm/radeon/radeon_pm.c     | 11 ++++++++++-
 4 files changed, 17 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5d6a9071a2c71909238483e0fab4b45d6bb27bb7


-- 
DragonFly BSD source repository



More information about the Commits mailing list