 error: kfree(state); return NULL; 
struct dvb_frontend* ttusbdecfe_dvbs_attach(const struct ttusbdecfe_config* config){	struct ttusbdecfe_state* state = NULL;	/* allocate memory for the internal state */	state = (struct ttusbdecfe_state*) kmalloc(sizeof(struct ttusbdecfe_state), GFP_KERNEL);	if (state == NULL) goto error;	/* setup the state */	state->config = config;	state->voltage = 0;	state->hi_band = 0;	memcpy(&state->ops, &ttusbdecfe_dvbs_ops, sizeof(struct dvb_frontend_ops));	/* create dvb_frontend */	state->frontend.ops = &state->ops;	state->frontend.demodulator_priv = state;	return &state->frontend;error:	kfree(state);	return NULL;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/771e71570ce4da549fe89978de0a29e3299d7fb7/ttusbdecfe.c/clean/drivers/media/dvb/ttusb-dec/ttusbdecfe.c