diff options
author | Sverker Eriksson <[email protected]> | 2013-11-11 19:32:13 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-11-11 19:32:13 +0100 |
commit | 1e683cc956a17d62db2aaab38fd1b4d68f59fe9a (patch) | |
tree | 91277a8fb8bf2aa960c50ce867d3954ad397faad /erts | |
parent | 264a12e19030f8861bf909b79479b2c0b7bd1ee0 (diff) | |
parent | 22f3be086a9aa6376f72122d0214fc84673a35d6 (diff) | |
download | otp-1e683cc956a17d62db2aaab38fd1b4d68f59fe9a.tar.gz otp-1e683cc956a17d62db2aaab38fd1b4d68f59fe9a.tar.bz2 otp-1e683cc956a17d62db2aaab38fd1b4d68f59fe9a.zip |
Merge branch 'maint'
Diffstat (limited to 'erts')
-rwxr-xr-x | erts/emulator/beam/erl_bif_info.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_bif_info.c b/erts/emulator/beam/erl_bif_info.c index 5fbcbbe250..d7f1e2d971 100755 --- a/erts/emulator/beam/erl_bif_info.c +++ b/erts/emulator/beam/erl_bif_info.c @@ -1771,7 +1771,11 @@ info_1_tuple(Process* BIF_P, /* Pointer to current process. */ #if defined(PURIFY) BIF_RET(erts_make_integer(purify_new_leaks(), BIF_P)); #elif defined(VALGRIND) +# ifdef VALGRIND_DO_ADDED_LEAK_CHECK + VALGRIND_DO_ADDED_LEAK_CHECK; +# else VALGRIND_DO_LEAK_CHECK; +# endif BIF_RET(make_small(0)); #endif } else if (*tp == am_fd) { |