Revision 55ee8e18 src/net_helper-ml.c

View differences:

src/net_helper-ml.c
356 356

  
357 357
	struct timeval tout = NH_ML_INIT_TIMEOUT;
358 358
	int s, i;
359
	struct tag *cfg_tags;
360
	const char *res;
361

  
359 362
	base = event_base_new();
360 363
	lookup_array = calloc(lookup_max,sizeof(struct nodeID *));
361 364

  
365
	cfg_tags = config_parse(config);
366

  
362 367
	me = malloc(sizeof(nodeID));
363 368
	if (me == NULL) {
364 369
		return NULL;
......
395 400
	monInit(base, repoclient);
396 401
}
397 402
#endif
403
	free(cfg_tags);
398 404

  
399 405
	while (me->connID<-1) {
400 406
	//	event_base_once(base,-1, EV_TIMEOUT, &t_out_cb, NULL, &tout);

Also available in: Unified diff