Commented out current free detector approach until better solution is found.
@@ -307,6 +307,7 @@ TEST_F(metacall_test, DefaultConstructor)
* for now, this would be sufficient to catch most of the errors.
*/
+ /*
void *freed_args[] = {
(void *)metacall_value_create_long(3L),
(void *)metacall_value_create_long(5L)
@@ -316,6 +317,7 @@ TEST_F(metacall_test, DefaultConstructor)
metacall_value_destroy(freed_args[1]);
EXPECT_EQ((void *)NULL, (void *)metacallfv_s(metacall_function("multiply"), freed_args, 2));
+ */
#endif
}
#endif /* OPTION_BUILD_LOADERS_PY */
