[PATCH 1/2] xfree86: fix a memory leak in edidMakeAtom().
Alex Deucher
alexdeucher at gmail.com
Thu Jul 11 14:05:20 PDT 2013
Ping?
On Mon, Jun 17, 2013 at 12:39 PM, <alexdeucher at gmail.com> wrote:
> From: Leo Liu <leo.liu at amd.com>
>
> leak happens when looping xrandr prop.
>
> Signed-off-by: Leo Liu <leo.liu at amd.com>
> ---
> hw/xfree86/common/xf86Helper.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/xfree86/common/xf86Helper.c b/hw/xfree86/common/xf86Helper.c
> index 721159d..bb17ecc 100644
> --- a/hw/xfree86/common/xf86Helper.c
> +++ b/hw/xfree86/common/xf86Helper.c
> @@ -1813,6 +1813,7 @@ xf86RegisterRootWindowProperty(int ScrnIndex, Atom property, Atom type,
> }
> else {
> free(pNewProp->name);
> + free(pNewProp->data);
> existing = TRUE;
> }
>
> --
> 1.7.9.5
>
More information about the xorg-devel
mailing list