Skip to content

Conversation

@junjieqi
Copy link

The LockTable class was allocating an array of pthread_rwlock_t objects in its constructor but never freeing them in the destructor. This caused a 7MB memory leak detected by AddressSanitizer.

The LockTable class was allocating an array of pthread_rwlock_t objects
in its constructor but never freeing them in the destructor. This caused
a 7MB memory leak detected by AddressSanitizer.
@g4197
Copy link
Collaborator

g4197 commented Feb 2, 2026

Thank you for your contribution! Is there any other memory leaks detected by ASan? You could also fix them simultaneously.

@junjieqi
Copy link
Author

junjieqi commented Feb 3, 2026

@g4197 haven't occurred others so far.

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