rem: char *result2;
add: char *result2 = NULL;
context: status_t get_device (const char *hid, uint32 index, char *result) {	ACPI_STATUS status;	uint32 counter[2] = {index,0};	char *result2;		status = AcpiGetDevices((char *)hid,&get_device_by_hid_callback,counter,&result2);	if ((status != AE_OK) || (result2 == NULL))		return B_ENTRY_NOT_FOUND;			strcpy(result,result2);	free(result2);	return B_OK;}