Minor synchronization fix
This commit is contained in:
parent
e1df67a0fe
commit
b7df2713a6
1 changed files with 1 additions and 2 deletions
1
herbe.c
1
herbe.c
|
@ -174,7 +174,6 @@ int main(int argc, char *argv[])
|
|||
|
||||
sem_post(mutex);
|
||||
sem_close(mutex);
|
||||
sem_unlink("/herbe");
|
||||
|
||||
for (int i = 0; i < num_of_lines; i++)
|
||||
free(words[i]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue