> > expr__ctx_init(&pctx); > > + /* Must be first id entry */ > > + expr__add_id(&pctx, name, avg); > > hum, shouldn't u instead use strdup(name) instead of name?
The cleanup loop later skips freeing the first entry. -Andi
> > expr__ctx_init(&pctx); > > + /* Must be first id entry */ > > + expr__add_id(&pctx, name, avg); > > hum, shouldn't u instead use strdup(name) instead of name?
The cleanup loop later skips freeing the first entry. -Andi