hnbap/rua: Don't usse malloc() directly but use CALLOC() macro
diff --git a/src/rua_common.c b/src/rua_common.c
index 8e2cc91..8c21faa 100644
--- a/src/rua_common.c
+++ b/src/rua_common.c
@@ -197,11 +197,10 @@
 
 	RUA_IE_t *buff;
 
-	if ((buff = malloc(sizeof(*buff))) == NULL) {
+	if ((buff = CALLOC(1, sizeof(*buff))) == NULL) {
 		// Possible error on malloc
 		return NULL;
 	}
-	memset((void *)buff, 0, sizeof(*buff));
 
 	buff->id = id;
 	buff->criticality = criticality;