On Thu, Apr 25, 2013 at 01:45:16PM +0800, Libo Chen wrote: > > - sd->groups = xmalloc(sizeof(sd->gsize)); > + sd->groups = xmalloc(sd->gsize); Good catch, thanks!