summaryrefslogtreecommitdiff
path: root/src/charon-nm/charon-nm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon-nm/charon-nm.c')
-rw-r--r--src/charon-nm/charon-nm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/charon-nm/charon-nm.c b/src/charon-nm/charon-nm.c
index 32cec36ec..80551f853 100644
--- a/src/charon-nm/charon-nm.c
+++ b/src/charon-nm/charon-nm.c
@@ -160,6 +160,9 @@ int main(int argc, char *argv[])
/* logging for library during initialization, as we have no bus yet */
dbg = dbg_syslog;
+ /* LD causes a crash probably due to Glib */
+ setenv("LEAK_DETECTIVE_DISABLE", "1", 1);
+
/* initialize library */
if (!library_init(NULL, "charon-nm"))
{