diff --git a/src/common/xtree.c b/src/common/xtree.c
index a97a5d048294c01b04ca75bdd05d3ad31a6e278c..28e515bf5545a2743c37126d49c259c943b9917b 100644
--- a/src/common/xtree.c
+++ b/src/common/xtree.c
@@ -473,7 +473,7 @@ xtree_node_t** xtree_get_parents(xtree_t* tree,
 	if (parents_count != 0) {
 		parents_list = (xtree_node_t**)xrealloc(parents_list,
 				sizeof(xtree_node_t*)*(parents_count+1));
-		/* safety mesure, can be used as strlen if users assumes it */
+		/* safety measure, can be used as strlen if users assumes it */
 		parents_list[parents_count] = NULL;
 	}
 	else {
@@ -567,7 +567,7 @@ xtree_node_t** xtree_get_leaves(xtree_t* tree,
 	if (st.list_count != 0) {
 		st.list = (xtree_node_t**)xrealloc(st.list,
 				sizeof(xtree_node_t*)*(st.list_count+1));
-		/* safety mesure, can be used as strlen if users assumes it */
+		/* safety measure, can be used as strlen if users assumes it */
 		st.list[st.list_count] = NULL;
 	}
 	else {