[PATCH] xfree86/common: Removed a configScreen leak when conf_screen is NULL
Adam Jackson
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.
- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110308/e0ac4cc0/attachment.pgp>
More information about the xorg-devel
mailing list