Skip to content

fix memory leak in fuzz_matcher.cc#3847

Merged
mandlil merged 1 commit intogoogle:masterfrom
pacbypass:master
Apr 22, 2025
Merged

fix memory leak in fuzz_matcher.cc#3847
mandlil merged 1 commit intogoogle:masterfrom
pacbypass:master

Conversation

@pacbypass
Copy link
Contributor

This fixes a simple memory leak in fuzz_matcher.cc. Mentioned in google/oss-fuzz#13227

Leak happens because we don't free the ICURegExpFactory

@pacbypass pacbypass requested a review from a team as a code owner April 16, 2025 21:42
@pacbypass
Copy link
Contributor Author

@tvislavski @mandlil Tests in oss-fuzz detected a small memory leak in the fuzzer, this PR fixes it.

@pacbypass
Copy link
Contributor Author

pacbypass commented Apr 18, 2025

@tvislavski Can you review and merge?

Copy link
Contributor

@katbohm katbohm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix!

@pacbypass
Copy link
Contributor Author

Thank you! Is anything standing in our way of merging this?

@mandlil mandlil merged commit cbe787d into google:master Apr 22, 2025
11 checks passed
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.

3 participants