cl_log(LOG_DEBUG, "Building ipc message - 5.5 (%s)", sub_type_target); 
createIpcMessage(const char *reference, const char *from, const char *to, xmlNodePtr data, gboolean is_request){    const char *tmp = from;    if(is_request) tmp = to;    cl_log(LOG_DEBUG, "Building ipc message - 5.1 (%s)", tmp);    const char *message_type = XML_MSG_TAG_RESPONSE;        cl_log(LOG_DEBUG, "Building ipc message - 5.2 (%s)", message_type);        if(reference == NULL) reference = generateReference();    if(is_request) message_type = XML_MSG_TAG_REQUEST;        if(tmp == NULL) return NULL;        int sub_type_len = strlen(tmp) + strlen(message_type) + 2; // 2 = "_" + '\0'    cl_log(LOG_DEBUG, "Building ipc message - 5.3");    char *sub_type_target = (char*)ha_malloc(sizeof(char)*(sub_type_len));    cl_log(LOG_DEBUG, "Building ipc message - 5.4");    sprintf(sub_type_target, "%s_%s", tmp, message_type);    cl_log(LOG_DEBUG, "Building ipc message - 5.5 (%s)", sub_type_target);    xmlNodePtr xml_node   = xmlNewNode(NULL, sub_type_target);//	ha_free(sub_type_target);    xmlSetProp(xml_node, XML_MSG_ATTR_REFERENCE, reference);        cl_log(LOG_DEBUG, "Building ipc message - 5.6");    if(data != NULL)    {	xmlAddChild(xml_node, data);//	xmlSetProp(data, XML_MSG_ATTR_REFERENCE, reference);    }        cl_log(LOG_DEBUG, "Building ipc message - 5.7");    return xml_node;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/ea49e927cf7a87359e44d087341624427b4dacc8/msgutils.c/buggy/crm/common/msgutils.c