pRetValue->pName = (char *)malloc(strlen(strName)+1);
pRetValue->pName = (char *)MY_MALLOC(strlen(strName)+1);
PTestCase add_test_case(PTestGroup pGroup, char* strName, TestFunc pTest){	PTestCase pRetValue = NULL;	error_number = CUE_SUCCESS;	if (!pGroup) {		error_number = CUE_NOGROUP;		goto exit;	}	if (!strName) {		error_number = CUE_NO_TESTNAME;		goto exit;	}		if (!pTest) {		error_number = CUE_NOTEST;		goto exit;	}		if (test_exists(pGroup, strName)) {		error_number = CUE_DUP_TEST;		goto exit;	}	pRetValue = (PTestCase)malloc(sizeof(TestCase));	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_case;	}	strcpy(pRetValue->pName, strName);	pRetValue->pTestFunc = pTest;	pRetValue->pNext = NULL;	g_pTestRegistry->uiNumberOfTests++;	insert_test_into_group(pGroup, pRetValue);	goto exit;	delete_test_case:	free(pRetValue);	pRetValue = NULL;exit:	return pRetValue;}