-
Alan Coopersmith authored
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). Signed-off-by:Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by:
Keith Packard <keithp@keithp.com>
0fc41931
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Imakefile | ||
| mirandr.c | ||
| panoramiXproto.h | ||
| randr.c | ||
| randr.h | ||
| randrproto.h | ||
| randrstr.h | ||
| registry.h | ||
| rrcrtc.c | ||
| rrdispatch.c | ||
| rrinfo.c | ||
| rrmode.c | ||
| rroutput.c | ||
| rrpointer.c | ||
| rrproperty.c | ||
| rrscreen.c | ||
| rrsdispatch.c | ||
| rrxinerama.c |