[R] R extension memory leak detection question
x|@oy@n@yu @end|ng |rom gm@||@com
Fri Mar 12 18:13:23 CET 2021
I am writing C++ program based on R extensions and also try to test the
program with google address sanitizer.
I thought if we don't protect the variable from the allocation API such as
Rf_allocVector, there will be a memory leak. However, the address sanitizer
didn't report it. Is my understanding correct? Or I will see the memory
leak only if I compile R source code with the address sanitizer.
[[alternative HTML version deleted]]
More information about the R-help