if(src_node == NULL || src_subsys == NULL) return NULL; int ref_len = strlen(src_subsys) + 1; 
int ref_len; char *hash_value;  if(src_node == NULL || src_subsys == NULL) { return NULL; }  
generate_hash_value(const char *src_node, const char *src_subsys){    if(src_node == NULL || src_subsys == NULL) return NULL;    int ref_len = strlen(src_subsys) + 1;    if(strcmp("dc", src_subsys) == 0)    {	char *subsys = (char*)ha_malloc(sizeof(char)* ref_len);	strncpy(subsys, src_subsys, strlen(src_subsys));	subsys[strlen(src_subsys)] ='\0';	return subsys;    }        ref_len += strlen(src_node)+1;    char *hash_value = (char*)ha_malloc(sizeof(char)*(ref_len));    sprintf(hash_value, "%s_%s", src_node, src_subsys);    hash_value[ref_len-1] = '\0';// i want to make sure it is null terminated    cl_log(LOG_INFO, "created hash value: (%s)", hash_value);    return hash_value;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/d884bb8419747da5584a0945ae2be736a300af3d/crmd.c/clean/crm/crmd/crmd.c