Alan Coopersmith <[email protected]> writes:

> Reported by parfait 1.0:
>
> Error: Memory leak (CWE 401)
>    Memory leak of pointer 'newModes' allocated with realloc(((char*)modes), 
> ((num_modes + 1) * 8))
>         at line 93 of randr/rrmode.c in function 'RRModeCreate'.
>           pointer allocated at line 82 with realloc(((char*)modes), 
> ((num_modes + 1) * 8)).
> Error: Memory leak (CWE 401)
>    Memory leak of pointer 'newModes' allocated with malloc(8)
>         at line 93 of randr/rrmode.c in function 'RRModeCreate'.
>           pointer allocated at line 84 with malloc(8).

Reviewed-by: Keith Packard <[email protected]>

-- 
[email protected]

Attachment: pgpZSuILmtHZz.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to