On Mon, Oct 15, 2012 at 10:00:15PM +0100, Richard W.M. Jones wrote:
> + if (arch)
> + free (arch);
BTW you don't need to write if (foo) free (foo); because
free (NULL) is perfectly OK in modern C.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top