Age | Commit message (Collapse) | Author |
|
Makes sure that any flags set in config.h that affect system headers
are applied equally across all source files.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Fix leaks reported by Oracle Parfait (though they don't last long,
since the program exits immediately after leaking):
Error: Memory leak
Memory leak [memory-leak] (CWE 401):
Memory leak of pointer pointer allocated with _new_scan_list(bytes_per_scanline)
at line 260 of atobm.c in function 'doit'.
calloc called at line 180 in function '_new_scan_list'
Allocated value returned to caller at line 193
pointer allocated at line 250 in function 'doit' with _new_scan_list(bytes_per_scanline)
pointer leaks when (i + 1) >= <unknown> at line 275
and buf[0] != 0 at line 225.
Error: Memory leak
Memory leak [memory-leak] (CWE 401):
Memory leak of pointer pointer allocated with _new_scan_list(bytes_per_scanline)
at line 316 of atobm.c in function 'doit'.
calloc called at line 180 in function '_new_scan_list'
Allocated value returned to caller at line 193
pointer allocated at line 250 in function 'doit' with _new_scan_list(bytes_per_scanline)
pointer leaks when slist != NULL at line 252
and (i + 1) >= <unknown> at line 275
and (i + 1) >= <unknown> at line 303.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Fixes round-trip-test failure on hlines2
The previous behavior has been present since the initial checkin of the
code to the X Consortium monolith, but no explanation was given for why
a single-character line should be skipped.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
atobm.c:248:6: warning: Potential leak of memory pointed to by 'slist'
NewSList ();
^~~~~~~~~~~
atobm.c:209:3: note: expanded from macro 'NewSList'
fprintf (stderr, "%s: unable to allocate char array\n", \
^~~~~~~
atobm.c:259:6: warning: Potential leak of memory pointed to by 'old'
NewSList ();
^~~~~~~~~~~
atobm.c:209:3: note: expanded from macro 'NewSList'
fprintf (stderr, "%s: unable to allocate char array\n", \
^~~~~~~
atobm.c:259:6: warning: Potential leak of memory pointed to by 'slist'
NewSList ();
^~~~~~~~~~~
atobm.c:209:3: note: expanded from macro 'NewSList'
fprintf (stderr, "%s: unable to allocate char array\n", \
^~~~~~~
3 warnings generated.
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
git diff -w & git diff -b show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, and corrects
make distcheck.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|