Skip to content

Commit

Permalink
Fixes sem leak
Browse files Browse the repository at this point in the history
  • Loading branch information
davidvossel committed Jul 22, 2013
1 parent 1462e80 commit c73f2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/log_thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ qb_log_thread_stop(void)
for (;;) {
res = sem_getvalue(&logt_print_finished, &value);
if (res != 0 || value == 0) {
return;
break;
}
sem_wait(&logt_print_finished);

Expand Down

0 comments on commit c73f2aa

Please sign in to comment.