]> xenbits.xensource.com Git - libvirt.git/commit
Fix misc OOM bugs
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 2 Sep 2009 14:09:04 +0000 (15:09 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 3 Sep 2009 12:14:46 +0000 (13:14 +0100)
commit8eacfd4cc23e88d12d671502dc29f700aab66b78
tree667e93e60b9d7c3072ecbfea90f3b921d6032f39
parent4ff6091294c76b330a9be06f1061ffd45598d717
Fix misc OOM bugs

* tests/testutils.c: Run test function twice, once to prime it for
  static allocations, once to count the non-static allocations.
* tests/testutilsqemu.c: Initialize variable correctl
* src/capabilities.c: Don't free machines variable upon failure
  since caller must do that
* src/xm_internal.c: Add missing check for OOM in building VIF
  config param
src/capabilities.c
src/xm_internal.c
tests/testutils.c