add: lset=0;
context: static gen_lock_set_t* init_lock_set(int *size){	gen_lock_set_t *lset;	for( ; *size ; *size=((*size)>>1) ) {		LOG(L_INFO,"INFO:pike:init_lock_set: probing %d set size\n",*size);		/* create a lock set */		lset = lock_set_alloc( *size );		if (lset==0) {			LOG(L_INFO,"INFO:pike:init_lock_set: cannot get %d locks\n",				*size);			continue;		}		/* init lock set */		if (lock_set_init(lset)==0) {			LOG(L_INFO,"INFO:pike:init_lock_set: cannot init %d locks\n",				*size);			lock_set_dealloc( lset );			lset = 0;			continue;		}		/* alloc and init succesfull */		break;	}	if (*size==0) {		LOG(L_ERR,"ERROR:pike:init_lock_set: cannot get a lock set\n");		return 0;	}	return lset;}