From 8290cbbc389c339b5a5ee603ed79d4c7389922ed Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Fri, 7 Jun 2013 10:37:25 +0200 Subject: viralloc: Report OOM error on failure Similarly to VIR_STRDUP, we want the OOM error to be reported in VIR_ALLOC and friends. --- tests/networkxml2conftest.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/networkxml2conftest.c') 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) { -- cgit v1.2.1