From 684b4c116c11aff8824ce12a99a16f6cb27f0661 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 21 Apr 2009 22:56:08 +0200 Subject: memtrap: hook up core to memtrap system --- src/daemon/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/daemon') diff --git a/src/daemon/main.c b/src/daemon/main.c index c456e6d1..a2324516 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -87,6 +87,7 @@ #include #include #include +#include #ifdef HAVE_DBUS #include #endif @@ -961,6 +962,8 @@ int main(int argc, char *argv[]) { pa_rtsig_configure(SIGRTMIN, SIGRTMAX-1); #endif + pa_memtrap_install(); + pa_assert_se(mainloop = pa_mainloop_new()); if (!(c = pa_core_new(pa_mainloop_get_api(mainloop), !conf->disable_shm, conf->shm_size))) { -- cgit