aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/invokepluto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/starter/invokepluto.c')
-rw-r--r--src/starter/invokepluto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/starter/invokepluto.c b/src/starter/invokepluto.c
index 5e840bac2..30294c968 100644
--- a/src/starter/invokepluto.c
+++ b/src/starter/invokepluto.c
@@ -266,6 +266,8 @@ starter_start_pluto (starter_config_t *cfg, bool no_fork, bool attach_gdb)
}
setsid();
sigprocmask(SIG_SETMASK, 0, NULL);
+ /* disable glibc's malloc checker, conflicts with leak detective */
+ setenv("MALLOC_CHECK_", "0", 1);
execv(arg[0], arg);
plog("can't execv(%s,...): %s", arg[0], strerror(errno));
exit(1);