On Wed, Mar 12, 2003 at 11:34:08PM +0300, Oleg Drokin wrote:
 > Hello!
 > 
 >    Seems this is right list/person to post this.
 >    I am looking at ./drivers/char/drm/drm_drv.h::drm_init() (latest 2.4), and
 >    it seems there is a memleak on error exit path.
 >    If DRM(stub_register)(DRIVER_NAME, &DRM(fops),dev) fails,
 >    DRM(device) and DRM(minor) memory areas are not freed before exit.
 > 
 >    Is this looking real?

Looks like a leak, smells like a leak, afaics, is a leak.
The exit paths further down also look fishy, as takedown() doesn't
free that stuff, so its left dangling.

        Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to