diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-05-05 17:52:34 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-05-05 17:53:47 +0200 |
commit | 9b4f6cfa23d92d327c12f7b0c24bd3e6f8e25315 (patch) | |
tree | eb51626e176c95a019e5993fe9100e324c30b0df | |
parent | 966efbc10d37d8716190dae79b9b5e3a95dd4911 (diff) | |
download | strongswan-9b4f6cfa23d92d327c12f7b0c24bd3e6f8e25315.tar.bz2 strongswan-9b4f6cfa23d92d327c12f7b0c24bd3e6f8e25315.tar.xz |
charon-nm: Disable leak-detective in charon-nm
It segfaults immediately if it is enabled, at least on Ubuntu 14.04.
-rw-r--r-- | src/charon-nm/charon-nm.c | 3 |
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")) { |