tnccs_11: Fix memory leak if multiple Base64 tags are found

This commit is contained in:
Tobias Brunner
2026-07-23 10:26:08 +02:00
parent 0a9445a7c1
commit 163e7bd6db
@@ -192,6 +192,7 @@ tnccs_msg_t *imc_imv_msg_create_from_node(xmlNodePtr node, linked_list_t *errors
{
content = xmlNodeGetContent(cur);
b64_body = chunk_create(content, strlen(content));
free(this->msg_body.ptr);
this->msg_body = decode_base64(b64_body);
xmlFree(content);
}