Skip to content

Conversation

ishitatsuyuki
Copy link
Contributor

fsync/esync_create_semaphore allocates objattr on their own, and objattr allocated in NtCreateSemaphore was getting leaked.

Like NtCreateEvent, move the objattr allocation after fsync/esync early return to avoid double allocation.

fsync/esync_create_semaphore allocates objattr on their own, and objattr allocated in NtCreateSemaphore was getting leaked.

Like NtCreateEvent, move the objattr allocation after fsync/esync early return to avoid double allocation.
@ishitatsuyuki
Copy link
Contributor Author

@gofman or @zfigura, would you mind taking a look when you have time?

@gofman
Copy link
Contributor

gofman commented Feb 20, 2024

Thanks! Pushed to Experimental branch.

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

Successfully merging this pull request may close these issues.

2 participants