zclear() исправлена
This commit is contained in:
parent
7c3423155f
commit
5640210c7b
|
@ -36,10 +36,8 @@ int main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < nobj; i++) {
|
for (i = 0; i < nobj; i++)
|
||||||
zfree(p[i]);
|
zclear(&p[i]);
|
||||||
p[i] = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
printf("Success, iterations = %lu, nobj = %lu\n", iterations, nobj);
|
printf("Success, iterations = %lu, nobj = %lu\n", iterations, nobj);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue