[PATCH] xfree86/common: Removed a configScreen leak when conf_screen is NULL
ajax at nwnk.net
Tue Mar 8 10:28:03 PST 2011
On Tue, 2011-03-08 at 13:10 +0200, Erkki Seppälä wrote:
> configScreen used a dynamically allocated buffer for XF86ConfScreenRec
> when conf_screen argument was NULL. This pointer was never stored
> anywhere, nor was it released, so this patch makes the function use
> automatically allocated storage in that situation.
> Reviewed-by: Rami Ylimäki <rami.ylimaki at vincit.fi>
> Signed-off-by: Erkki Seppälä <erkki.seppala at vincit.fi>
R-b, and merged to xserver-next.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: This is a digitally signed message part
More information about the xorg-devel