diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2013-06-07 10:37:25 +0200 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2013-07-10 11:07:31 +0200 |
commit | 8290cbbc389c339b5a5ee603ed79d4c7389922ed (patch) | |
tree | a0f40d8dab2d57d15f985b51579dea684d37c186 /tests/networkxml2conftest.c | |
parent | 1cdaebf2370c2c333581979ca2959095b6ed9f84 (diff) | |
download | libvirt-8290cbbc389c339b5a5ee603ed79d4c7389922ed.tar.gz |
viralloc: Report OOM error on failure
Similarly to VIR_STRDUP, we want the OOM error to be reported in
VIR_ALLOC and friends.
Diffstat (limited to 'tests/networkxml2conftest.c')
-rw-r--r-- | tests/networkxml2conftest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/networkxml2conftest.c b/tests/networkxml2conftest.c index 520febacef..b234b306a8 100644 --- a/tests/networkxml2conftest.c +++ b/tests/networkxml2conftest.c @@ -16,6 +16,8 @@ #include "network/bridge_driver.h" #include "virstring.h" +#define VIR_FROM_THIS VIR_FROM_NONE + static int testCompareXMLToConfFiles(const char *inxml, const char *outconf, dnsmasqCapsPtr caps) { |