xml BUGFIX incorrect length used to allocate memory

Sometimes causing memory allocation error when using address of an
integer instead of the integer itself to allocate memory buffer.
diff --git a/tests/src/test_xml.c b/tests/src/test_xml.c
index 55dc0bf..c93be56 100644
--- a/tests/src/test_xml.c
+++ b/tests/src/test_xml.c
@@ -94,7 +94,7 @@
     /* end element */
     str = "</element>";
     assert_int_equal(LY_EVALID, lyxml_get_element(&ctx, &str, &prefix, &prefix_len, &name, &name_len));
-    logbuf_assert("Opening and closing elements tag missmatch (\"element>\"). Line number 1.");
+    logbuf_assert("Opening and closing elements tag missmatch (\"element\"). Line number 1.");
 
 
     /* no element */
@@ -183,7 +183,7 @@
     /* cleean context by getting closing tag */
     str += 12;
     assert_int_equal(LY_EVALID, lyxml_get_element(&ctx, &str, &prefix, &prefix_len, &name, &name_len));
-    logbuf_assert("Opening and closing elements tag missmatch (\"element>\"). Line number 1.");
+    logbuf_assert("Opening and closing elements tag missmatch (\"element\"). Line number 1.");
     str = "</yin:element/>";
     assert_int_equal(LY_EVALID, lyxml_get_element(&ctx, &str, &prefix, &prefix_len, &name, &name_len));
     logbuf_assert("Unexpected data \"/>\" in closing element tag. Line number 1.");