summaryrefslogtreecommitdiff
path: root/libgupnp-av/xml-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgupnp-av/xml-util.c')
-rw-r--r--libgupnp-av/xml-util.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libgupnp-av/xml-util.c b/libgupnp-av/xml-util.c
index 0d1661b..a72ad00 100644
--- a/libgupnp-av/xml-util.c
+++ b/libgupnp-av/xml-util.c
@@ -54,6 +54,12 @@ av_xml_doc_free (GUPnPAVXMLDoc *doc)
g_clear_pointer (&doc->doc, xmlFreeDoc);
}
+GUPnPAVXMLDoc *
+av_xml_doc_ref (GUPnPAVXMLDoc *doc)
+{
+ return g_rc_box_acquire (doc);
+}
+
void
av_xml_doc_unref (GUPnPAVXMLDoc *doc)
{