zclear() исправлена

This commit is contained in:
Kolan Sh 2011-07-04 12:10:30 +04:00
parent 7c3423155f
commit 5640210c7b
1 changed files with 2 additions and 4 deletions

View File

@ -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);