1. 30 1月, 2008 1 次提交
    • J
      Given code like if (foo) free (foo); remove the useless "if (foo) " part. · acff2d11
      Jim Meyering 提交于
      Likewise, given if (foo != NULL) free (foo); remove the useless "if" test.
      
      * proxy/libvirt_proxy.c: Remove unnecessary "if" test before free.
      * python/generator.py: Likewise.
      * qemud/qemud.c: Likewise.
      * src/buf.c: Likewise.
      * src/conf.c: Likewise.
      * src/hash.c: Likewise.
      * src/iptables.c: Likewise.
      * src/libvirt.c: Likewise.
      * src/openvz_conf.c: Likewise.
      * src/qemu_conf.c: Likewise.
      * src/qemu_driver.c: Likewise.
      * src/remote_internal.c: Likewise.
      * src/test.c: Likewise.
      * src/virsh.c: Likewise.
      * src/virterror.c: Likewise.
      * src/xen_internal.c: Likewise.
      * src/xen_unified.c: Likewise.
      * src/xend_internal.c: Likewise.
      * src/xm_internal.c: Likewise.
      * src/xml.c: Likewise.
      * src/xmlrpc.c: Likewise.
      * src/xs_internal.c: Likewise.
      * tests/testutils.c: Likewise.
      * tests/xencapstest.c: Likewise.
      * tests/xmconfigtest.c: Likewise.
      acff2d11
  2. 25 1月, 2008 3 次提交
  3. 24 1月, 2008 2 次提交
  4. 23 1月, 2008 3 次提交
  5. 22 1月, 2008 2 次提交
  6. 21 1月, 2008 9 次提交
  7. 20 1月, 2008 2 次提交
  8. 18 1月, 2008 2 次提交
    • J
      Handle PyTuple_New's malloc failure. · 02b98afe
      Jim Meyering 提交于
      * python/libvir.c (libvirt_virDomainBlockStats): Handle a NULL
      return from PyTuple_New.
      (libvirt_virDomainInterfaceStats, libvirt_virGetLastError): Likewise.
      (libvirt_virConnGetLastError): Likewise.
      02b98afe
    • J
      Factor out some duplication. · ec6e9b78
      Jim Meyering 提交于
      * python/libvir.c (VIR_PY_NONE): New macro, to encapsulate
      a common two-statement sequence.
      Replace all such 2-stmt sequences.
      ec6e9b78
  9. 17 1月, 2008 1 次提交
  10. 15 1月, 2008 3 次提交
  11. 14 1月, 2008 5 次提交
  12. 10 1月, 2008 7 次提交