mkfontscale: Changes to 'master'
Jeremy Huddleston
jeremyhu at kemper.freedesktop.org
Thu Jan 2 00:44:55 PST 2014
list.c | 7 ++++++-
mkfontscale.c | 24 ++++++++++++++++--------
2 files changed, 22 insertions(+), 9 deletions(-)
New commits:
commit eac564e0fc9052a39981ea47b271f7f3d2821944
Author: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date: Thu Jan 2 00:43:14 2014 -0800
Fix possible malloc allocation error found by clang static analysis
list.c:238:23: warning: Call to 'malloc' has an allocation size of 0 bytes
ListPtr *sorted = malloc(l * sizeof(ListPtr));
^~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
commit 423ffbe9c5552dfeffa81bb6e2f2b62ab6b17580
Author: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date: Thu Jan 2 00:39:25 2014 -0800
Plug a memory leak found by clang static analysis
mkfontscale.c:635:25: warning: Potential leak of memory pointed to by 'notice'
foundry = notice_foundry(notice);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
mkfontscale.c:640:8: warning: Potential leak of memory pointed to by 'notice'
if(strcmp(slant, "i") == 0) {
^~~~~~
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
More information about the xorg-commit
mailing list