summaryrefslogtreecommitdiffstats
path: root/backgammon/common_source
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-03-21 17:14:15 +0000
committerchristos <christos@NetBSD.org>2006-03-21 17:14:15 +0000
commitc75621391dae5a9b1412c1964ee8f6debf2c1035 (patch)
treef84fdd8678f16bb527e6018b8401e3d3fe6849a3 /backgammon/common_source
parentea7a50190d992fca1a93ad925f543277e2e66cab (diff)
downloadbsdgames-darwin-c75621391dae5a9b1412c1964ee8f6debf2c1035.tar.gz
bsdgames-darwin-c75621391dae5a9b1412c1964ee8f6debf2c1035.zip
Coverity CID 2737: Handle linked-lists properly. Use calloc instead of malloc
so that we don't end up storing garbage accidentally and the next pointer is initialized. If there is an inconsistency in the file abort instead of dereferencing NULL.
Diffstat (limited to 'backgammon/common_source')
0 files changed, 0 insertions, 0 deletions