Skip to content

Commit

Permalink
[sanitizers] Remove the message queue with IPC_RMID after D82897
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Sep 23, 2020
1 parent f1746be commit cabe31f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler-rt/test/sanitizer_common/TestCases/Linux/sysmsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ int main() {
int res = msgsnd(msgq, &msg, MSG_BUFLEN, IPC_NOWAIT);
if (res) {
fprintf(stderr, "Error sending message! %s\n", strerror(errno));
msgctl(msgq, IPC_RMID, NULL);
return -1;
}

Expand Down

0 comments on commit cabe31f

Please sign in to comment.