Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release semaphore which was not used before #23

Open
g3gg0 opened this issue Aug 4, 2023 · 0 comments
Open

release semaphore which was not used before #23

g3gg0 opened this issue Aug 4, 2023 · 0 comments

Comments

@g3gg0
Copy link

g3gg0 commented Aug 4, 2023

In this line

osReleaseSemaphore(&connection->serverContext->semaphore);

you are referencing to connection->serverContext in the else-path which gets assigned in the if-section.

did you mean this instead?

osReleaseSemaphore(&context->semaphore);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant