[R] R extension memory leak detection question
bgunter@4567 @end|ng |rom gm@||@com
Fri Mar 12 18:35:38 CET 2021
This is the wrong list for such questions. Post to r-devel instead.
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Fri, Mar 12, 2021 at 9:13 AM xiaoyan yu <xiaoyan.yu using gmail.com> wrote:
> 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.
> Please help!
> [[alternative HTML version deleted]]
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help