state = (struct nxt6000_state*) kmalloc(sizeof(struct nxt6000_state), GFP_KERNEL); 
state = kmalloc(sizeof(struct nxt6000_state), GFP_KERNEL); 
struct dvb_frontend* nxt6000_attach(const struct nxt6000_config* config,				    struct i2c_adapter* i2c){	struct nxt6000_state* state = NULL;	/* allocate memory for the internal state */	state = (struct nxt6000_state*) kmalloc(sizeof(struct nxt6000_state), GFP_KERNEL);	if (state == NULL) goto error;	/* setup the state */	state->config = config;	state->i2c = i2c;	memcpy(&state->ops, &nxt6000_ops, sizeof(struct dvb_frontend_ops));	/* check if the demod is there */	if (nxt6000_readreg(state, OFDM_MSC_REV) != NXT6000ASICDEVICE) goto error;	/* 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/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/nxt6000.c/buggy/drivers/media/dvb/frontends/nxt6000.c