Review Board 2.0.15


Fix: Address a few minor issues identified by cppcheck

Review Request #1468 - Created Oct. 11, 2012 and submitted

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 9290:dd92604a89a2
---------------------------
Fix: Address a few minor issues identified by cppcheck

This patch addresses a number of smaller issues identified by the code
inspection utility cppcheck. There are a number of identified leaks in
the arm/linux/system.cc (although the function only get's called once
so it is not a major problem), a few deletes in dev/x86/i8042.cc that
were not array deletes, and sprintfs where the character array had one
element less than needed. In the IIC tags there was a function
allocating an array of longs which is in fact never used.
util/regress all passing (disregarding t1000 and eio)
Review request changed
Updated (Oct. 14, 2012, 10:26 p.m.)

Status: Closed (submitted)