forked from OSchip/llvm-project
[sanitizers] Remove the message queue with IPC_RMID after D82897
This commit is contained in:
parent
f1746be666
commit
cabe31f415
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue