swig/Examples/test-suite/r
Arnaud Barré 3fa5c8c652 Fix R memory leak on exception
There is a possible memory leak in case the SWIG_exception_fail macro
is called. The problem is related to its definition that call the
function Rf_warning. This function (as well as Rf_error) involves
a longjmp over C++ destructors on the stack. Thus, all the objects
allocated on the heap are not freed.

Closes #914
2020-01-30 20:43:39 +00:00
..
abstract_access_runme.R ENH R abstract_access_runme 2019-08-31 17:02:46 +10:00
arrays_dimensionless_runme.R runtime test for tricky enumerations and support for out of source testing via args option to R 2015-08-12 18:33:53 +01:00
enum_thorough_runme.R FIX: references to enums now functioning 2019-03-08 21:56:36 +11:00
funcptr_runme.R runtime test for tricky enumerations and support for out of source testing via args option to R 2015-08-12 18:33:53 +01:00
ignore_parameter_runme.R runtime test for tricky enumerations and support for out of source testing via args option to R 2015-08-12 18:33:53 +01:00
integers_runme.R runtime test for tricky enumerations and support for out of source testing via args option to R 2015-08-12 18:33:53 +01:00
li_std_vector_runme.R run test and copying typemaps to std::string 2016-04-05 10:06:42 +10:00
Makefile.in Fix R memory leak on exception 2020-01-30 20:43:39 +00:00
overload_method_runme.R runtime test for tricky enumerations and support for out of source testing via args option to R 2015-08-12 18:33:53 +01:00
overload_null_runme.R Fix overloading for non-pointers and NULL - R 2018-12-30 13:46:51 +00:00
preproc_constants_runme.R Remove R test until fixed 2015-08-13 06:47:09 +01:00
r_copy_struct_runme.R runtime test for tricky enumerations and support for out of source testing via args option to R 2015-08-12 18:33:53 +01:00
r_double_delete_runme.R modify test-suite (barring python atm) to not rely on the -I path to find the input .i file - removes the new warning 125 and sets up the test-suite for testing with ccache. This change required the use of -outcurrentdir and moving the .i files from the language subdirectories to the directory above along with some .i file name changes. 2008-11-26 21:35:15 +00:00
r_legacy_runme.R runtime test for tricky enumerations and support for out of source testing via args option to R 2015-08-12 18:33:53 +01:00
r_memory_leak_runme.R Fix R memory leak on exception 2020-01-30 20:43:39 +00:00
r_sexp_runme.R runtime test for tricky enumerations and support for out of source testing via args option to R 2015-08-12 18:33:53 +01:00
r_use_isnull_runme.R add support files and regression tests for #1124 2017-11-25 01:37:14 +08:00
rename_simple_runme.R runtime test for tricky enumerations and support for out of source testing via args option to R 2015-08-12 18:33:53 +01:00
simple_array_runme.R runtime test for tricky enumerations and support for out of source testing via args option to R 2015-08-12 18:33:53 +01:00
unions_runme.R runtime test for tricky enumerations and support for out of source testing via args option to R 2015-08-12 18:33:53 +01:00
unittest.R Corrected the testing in unittest so that all elements of 2016-03-15 12:14:20 +11:00