pRetValue->pName = (char *)malloc(strlen(strName)+1);
pRetValue->pName = (char *)MY_MALLOC(strlen(strName)+1);
PTestGroup add_test_group(char* strName, InitializeFunc pInit, CleanupFunc pClean){	PTestGroup pRetValue = NULL;	error_number = CUE_SUCCESS;	if (!g_pTestRegistry) {		error_number = CUE_NOREGISTRY;		goto exit;	}	if (!strName) {		error_number = CUE_NO_GROUPNAME;		goto exit;	}	if (group_exists(g_pTestRegistry, strName)) {		error_number = CUE_DUP_GROUP;		goto exit;	}		pRetValue = (PTestGroup)malloc(sizeof(TestGroup));	if (NULL == pRetValue) {		error_number = CUE_NOMEMORY;		goto exit;	}		pRetValue->pName = (char *)malloc(strlen(strName)+1);	if (NULL == pRetValue->pName) {		error_number = CUE_NOMEMORY;		goto delete_test_group;	}	strcpy(pRetValue->pName, strName);	pRetValue->pInitializeFunc = pInit;	pRetValue->pCleanupFunc = pClean;	pRetValue->pTestCase = NULL;	pRetValue->uiNumberOfTests = 0;	insert_group_into_registry(g_pTestRegistry, pRetValue);	goto exit;	delete_test_group:	free(pRetValue);	pRetValue = NULL;exit:	return pRetValue;}