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++) {
|
||||
zfree(p[i]);
|
||||
p[i] = NULL;
|
||||
}
|
||||
for (i = 0; i < nobj; i++)
|
||||
zclear(&p[i]);
|
||||
|
||||
printf("Success, iterations = %lu, nobj = %lu\n", iterations, nobj);
|
||||
|
||||
|
|
Loading…
Reference in New Issue