On Friday, July 21, 2017 5:03:09 AM EDT Martin Morgan wrote:
> b gets reallocated when
> 
>      res = vasprintf(&b, format, ap);
> 
> is successful and res >= 0. usedVasprintf is then set to TRUE, and
> free(b) called.
> 
> It seems like the code is correct as written?

Yes, I think I see the issue. vasprintf seems to not be tracked for memory 
allocation. So, yes I agree its correct as written. Sorry for the noise.

-Steve

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to