summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRoss Burton <ross@linux.intel.com>2008-12-18 14:38:44 +0000
committerRoss Burton <ross@linux.intel.com>2008-12-18 14:38:44 +0000
commit8f05a39d03a9d01ae6ca70caff7675af24c5ed8c (patch)
tree666dae6ee3b7b03bb739ae29eadb58b9828e58ab /examples
parentb8f2ecafba364a2beb018706c675deb53f2d6f99 (diff)
Use rest_xml_node_unref in the test
Diffstat (limited to 'examples')
-rw-r--r--examples/test-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/test-xml.c b/examples/test-xml.c
index 0650fed..94decf5 100644
--- a/examples/test-xml.c
+++ b/examples/test-xml.c
@@ -79,7 +79,7 @@ proxy_call_raw_async_cb (RestProxyCall *call,
node = rest_xml_parser_parse_from_data (parser, payload, len);
_rest_xml_node_output (node, 0);
- rest_xml_node_free (node);
+ rest_xml_node_unref (node);
g_object_unref (parser);
g_main_loop_quit ((GMainLoop *)userdata);
}