20 comments (20 comments)0 reactions (0 reactions)0 assignees (0 assignees)C++5,745 forks (5,745 forks)batch import
Pri: 2approvedcodebase qualityhelp wanted
Repository metrics
- Stars
- 30,929 stars (30,929 stars)
- PR merge metrics
- Avg merge 15h 43m (Avg merge 15h 43m)7 merged PRs in 30d (7 merged PRs in 30d)
Description
The Calculator engine allocates and frees its own memory which leads to issues such as double-frees that are hard to investigate. We should clean this code and switch to modern constructs such as smart_ptrs to eliminate these issues.
Contributor guide
- Research direction
- Identify all raw pointer allocations in the Calculator engine and replace them with appropriate smart pointers (unique ptr, shared ptr, etc.). Ensure no memory leaks or double frees remain.
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Refactor
- Prerequisites
- C++Smart PointersMemory Management