I've noticed a bundle of kmemleak reports on drm. When I look into dmesg, I found: "[drm:radeon_driver_load_kms] *ERROR* Failed to initialize radeon, disabling IOCTL".
In radeon_driver_load_kms, if radeon_device_init fails, rdev is not freed. Then radeon_driver_load_kms as dev->driver->load, if load fails in drm_get_dev, memories allocated in drm_fill_in_dev will not be freed. This patchset fixes those memory leaks, after this patchset applied, I didn't see those drm kmemleak report. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel