[PATCH 1/6] xserver: Option memory leak fixes

Jesse Barnes jbarnes at virtuousgeek.org
Wed Mar 28 16:52:21 PDT 2007


On Wednesday, March 28, 2007 3:03 pm Magnus Vigerlöf wrote:
> Option memory leak fixes
>
> Correction of a few small memory leaks in the option handling
> functions and the places where these are called in a faulty way.

Looks good to me.  Too bad the functions don't have better names that 
indicate whether they're doing the allocation or whether they expect 
the caller to do it (as in the case of xf86addNewOption), or at the 
very least some documentation...

Jesse



More information about the xorg mailing list