[PATCH 2/4] dmxBERestoreRenderGlyph was passing wrong value to free
Matt Turner
mattst88 at gmail.com
Sat May 8 08:30:51 PDT 2010
On Sat, May 8, 2010 at 2:19 AM, Keith Packard <keithp at keithp.com> wrote:
> Signed-off-by: Keith Packard <keithp at keithp.com>
> ---
> hw/dmx/dmxextension.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/hw/dmx/dmxextension.c b/hw/dmx/dmxextension.c
> index 4e55533..c8e8dae 100644
> --- a/hw/dmx/dmxextension.c
> +++ b/hw/dmx/dmxextension.c
> @@ -1155,7 +1155,7 @@ static void dmxBERestoreRenderGlyph(pointer value, XID id, pointer n)
> len_images);
>
> /* Clean up */
> - free(len_images);
> + free(images);
> free(gids);
> free(glyphs);
> }
> --
> 1.7.0.4
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
For reference, this bug was added in commit a5fcf1e5e7, on Dec 16
2006, so congratulations on finding a 3.5 year old bug! :)
Matt
More information about the xorg-devel
mailing list