[asan] clean up at the end of the shmget/shmctl test

llvm-svn: 197901
This commit is contained in:
Kostya Serebryany 2013-12-23 07:32:23 +00:00
parent b88b25feec
commit 6f69c73db1
1 changed files with 1 additions and 0 deletions

View File

@ -14,4 +14,5 @@ int main() {
assert(res > -1);
printf("shm_segsz: %zd\n", ds.shm_segsz);
assert(ds.shm_segsz == 4096);
assert(-1 != shmctl(id, IPC_RMID, 0));
}