efl_check: unset the callback here

this is needed in order to not accidently overwrite stack values.
This never showed up while running the test suite, as erroring would
have aborted anyways. However, when we are running with CK_FORK=no, this
may leak into another test.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11595
This commit is contained in:
Marcel Hollerbach 2020-03-23 21:52:05 +01:00
parent 7d89ddc67d
commit 3bfb31c6fe
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@
#define EXPECT_ERROR_END \
eina_log_print_cb_set(NULL, NULL); \
ck_assert_int_eq(expect_error_start, EINA_TRUE); \
DISABLE_ABORT_ON_CRITICAL_END; \
} while(0)