diff options
author | John Ferlan <jferlan@redhat.com> | 2014-11-30 09:35:12 -0500 |
---|---|---|
committer | John Ferlan <jferlan@redhat.com> | 2014-12-02 11:03:40 -0500 |
commit | adbbff5fb73edfe6c5f6ba79ddbff87a412f2b5b (patch) | |
tree | 30d59f0bf6b9bba214e7253316a8b7245389eac8 /cfg.mk | |
parent | d1219054e3592dd309ba7091868d0e48f1644ea9 (diff) | |
download | libvirt-adbbff5fb73edfe6c5f6ba79ddbff87a412f2b5b.tar.gz |
Replace virStoragePoolFree with virObjectUnref
Since virStoragePoolFree will call virObjectUnref anyway, let's just use that
directly so as to avoid the possibility that we inadvertently clear out
a pending error message when using the public API.
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -992,7 +992,7 @@ sc_prohibit_system_error_with_vir_err: # functions. There's a corresponding exclude to allow usage within tests, # docs, examples, tools, src/libvirt-*.c, and include/libvirt/libvirt-*.h sc_prohibit_virXXXFree: - @prohibit='\bvir(Domain|Network|NodeDevice|StorageVol)Free\b' \ + @prohibit='\bvir(Domain|Network|NodeDevice|StorageVol|StoragePool)Free\b' \ exclude='sc_prohibit_virXXXFree' \ halt='avoid using 'virXXXFree', use 'virObjectUnref' instead' \ $(_sc_search_regexp) |