Browse Source

Fix buf dereference error

master
Con Kolivas 10 years ago
parent
commit
a23060d786
  1. 2
      src/stratifier.c

2
src/stratifier.c

@ -4342,8 +4342,8 @@ int stratifier(proc_instance_t *pi)
ckpool_t *ckp = pi->ckp; ckpool_t *ckp = pi->ckp;
int ret = 1, threads; int ret = 1, threads;
int64_t randomiser; int64_t randomiser;
char *buf = NULL;
sdata_t *sdata; sdata_t *sdata;
char *buf;
LOGWARNING("%s stratifier starting", ckp->name); LOGWARNING("%s stratifier starting", ckp->name);
sdata = ckzalloc(sizeof(sdata_t)); sdata = ckzalloc(sizeof(sdata_t));

Loading…
Cancel
Save