We noticed some memory leaks in the codebase. While some fixes have been applied, we suspect not all issues have been addressed. To properly handle this, we need a structured investigation and tests that can reliably expose the leaks.
Next steps:
- Use memory profiling tools (Valgrind etc) to locate hotspots.
- Add a reproducible test case that highlights the leak(s).
- Investigate severity and prioritize fixes.