-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: 3.1.7
-
Component/s: Internal Code
-
None
-
Storage Execution
Remove the remaining few uses of these, and add a linter check (or preferably clang-tidy or so) that will verify no new uses are introduced.
Memory should only be allocated through "new" or otherwise mongoMalloc, but never with plain malloc() or other functions calling it, such as strdup.
- related to
-
SERVER-20204 Segmentation fault during index build on 3.0 secondary
- Closed