summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2011-05-22 14:07:06 -0700
committerDave Beckett <dave@dajobe.org>2011-05-22 14:07:06 -0700
commit6f4c50b533da559e5fe212c36e5983e0db4402c6 (patch)
tree748a81449e5ff9d6e4a7ee539c31ab9573960b7f /src
parent3e58173d9297f3b1c07ea7583354a27e7a9a0aa4 (diff)
downloadraptor-6f4c50b533da559e5fe212c36e5983e0db4402c6.tar.gz
(raptor_rdfxmla_emit_subject_properties): Return 'rv' on error [CLANG].
Diffstat (limited to 'src')
-rw-r--r--src/raptor_serialize_rdfxmla.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/raptor_serialize_rdfxmla.c b/src/raptor_serialize_rdfxmla.c
index e5f69cd3..14bf5a36 100644
--- a/src/raptor_serialize_rdfxmla.c
+++ b/src/raptor_serialize_rdfxmla.c
@@ -608,6 +608,10 @@ raptor_rdfxmla_emit_subject_properties(raptor_serializer* serializer,
break;
}
+ /* Return error if emitting something failed above */
+ if(rv)
+ return rv;
+
raptor_free_xml_element(element);
}