]> git.ipfire.org Git - thirdparty/libvirt.git/commit
examples: domtop: Fix uninitialized variable use
authorPeter Krempa <pkrempa@redhat.com>
Mon, 21 Jul 2014 07:52:02 +0000 (09:52 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 21 Jul 2014 13:20:59 +0000 (15:20 +0200)
commitabab113bd237c4700190db32e01db352569d9b3f
tree4e742ab91f7ccefa8b300d7673992bb74536e9c6
parent49a3a649a85f9d3d478be355aa8694bce889586a
examples: domtop: Fix uninitialized variable use

max_id could be used uninitialized in the cleanup section after the
domain wasn't found.

Discovered by Coverity.
examples/domtop/domtop.c