[R-package] Fix R memory leaks (fixes #4282, fixes #3462) (#4597)
* fix R memory leaks * attempt at solving linter complaints * fix compilation on windows * move R_API_BEGIN to correct place * make sure exception objects reach out of scope * better way to solve rchk complaints * remove goto statement
Showing
Please register or sign in to comment