Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. q->buffer[1] doesn't seem to be free()'d 2. q->buffer[0] is duplicated, you probably meant to zero out buffer[1] 3. shouldn't the unlocking order be reverse of locking order to prevent deadlocks?
- Loading branch information